public class JavaParserTypePatternDeclaration extends Object implements ResolvedTypePatternDeclaration
| Constructor and Description |
|---|
JavaParserTypePatternDeclaration(TypePatternExpr wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
ResolvedType |
getType() |
TypePatternExpr |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserPatternDeclaration.
|
Optional<Node> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasTypePattern, describeType, hasName, isTypePatternasEnumConstant, asField, asMethod, asParameter, asType, isEnumConstant, isField, isMethod, isParameter, isType, isVariabletoAstpublic JavaParserTypePatternDeclaration(TypePatternExpr wrappedNode, TypeSolver typeSolver)
public String getName()
getName in interface ResolvedDeclarationpublic ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic TypePatternExpr getWrappedNode()
public Optional<Node> toAst()
toAst in interface AssociableToASTCopyright © 2007–2025. All rights reserved.