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, wait
describeType, hasName
asEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isField, isMethod, isParameter, isType, isVariable
public JavaParserPatternDeclaration(PatternExpr wrappedNode, TypeSolver typeSolver)
public String getName()
getName
in interface ResolvedDeclaration
public boolean isPattern()
isPattern
in interface ResolvedDeclaration
isPattern
in interface ResolvedPatternDeclaration
public ResolvedType getType()
getType
in interface ResolvedValueDeclaration
public PatternExpr getWrappedNode()
public ResolvedPatternDeclaration asPattern()
asPattern
in interface ResolvedDeclaration
Copyright © 2007–2020. All rights reserved.