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, wait
asPattern, describeType, hasName, isPattern
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 ResolvedType getType()
getType
in interface ResolvedValueDeclaration
public PatternExpr getWrappedNode()
public Optional<PatternExpr> toAst()
toAst
in interface AssociableToAST<PatternExpr>
Copyright © 2007–2022. All rights reserved.