public class JavaParserPatternDeclaration extends Object implements ResolvedPatternDeclaration, AssociableToAST<PatternExpr>
| 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<PatternExpr> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasPattern, describeType, hasName, isPatternasEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isField, isMethod, isParameter, isType, isVariablepublic JavaParserPatternDeclaration(PatternExpr wrappedNode, TypeSolver typeSolver)
public String getName()
getName in interface ResolvedDeclarationpublic ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic PatternExpr getWrappedNode()
public Optional<PatternExpr> toAst()
toAst in interface AssociableToAST<PatternExpr>Copyright © 2007–2022. All rights reserved.