public class JavaParserPatternDeclaration extends Object implements ResolvedPatternDeclaration
Constructor and Description |
---|
JavaParserPatternDeclaration(PatternExpr wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ResolvedType |
getType() |
PatternExpr |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserPatternDeclaration.
|
Optional<Node> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asPattern, describeType, hasName, isPattern
asEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isField, isMethod, isParameter, isType, isVariable
toAst
public JavaParserPatternDeclaration(PatternExpr wrappedNode, TypeSolver typeSolver)
public String getName()
getName
in interface ResolvedDeclaration
public ResolvedType getType()
getType
in interface ResolvedValueDeclaration
public PatternExpr getWrappedNode()
public Optional<Node> toAst()
toAst
in interface AssociableToAST
Copyright © 2007–2023. All rights reserved.