public class JavaParserPatternDeclaration extends Object implements ResolvedPatternDeclaration
| Constructor and Description |
|---|
JavaParserPatternDeclaration(PatternExpr wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
ResolvedPatternDeclaration |
asPattern() |
String |
getName() |
ResolvedType |
getType() |
PatternExpr |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserPatternDeclaration.
|
boolean |
isPattern() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescribeType, hasNameasEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isField, isMethod, isParameter, isType, isVariablepublic JavaParserPatternDeclaration(PatternExpr wrappedNode, TypeSolver typeSolver)
public String getName()
getName in interface ResolvedDeclarationpublic boolean isPattern()
isPattern in interface ResolvedDeclarationisPattern in interface ResolvedPatternDeclarationpublic ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic PatternExpr getWrappedNode()
public ResolvedPatternDeclaration asPattern()
asPattern in interface ResolvedDeclarationCopyright © 2007–2020. All rights reserved.