public class JavaParserEnumConstantDeclaration extends Object implements ResolvedEnumConstantDeclaration
| Constructor and Description |
|---|
JavaParserEnumConstantDeclaration(EnumConstantDeclaration wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
ResolvedType |
getType() |
EnumConstantDeclaration |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserEnumConstantDeclaration.
|
Optional<Node> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasEnumConstant, isEnumConstantasField, asMethod, asParameter, asPattern, asType, hasName, isField, isMethod, isParameter, isPattern, isType, isVariabletoAstpublic JavaParserEnumConstantDeclaration(EnumConstantDeclaration wrappedNode, TypeSolver typeSolver)
public ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic String getName()
getName in interface ResolvedDeclarationgetName in interface ResolvedEnumConstantDeclarationpublic EnumConstantDeclaration getWrappedNode()
public Optional<Node> toAst()
toAst in interface AssociableToASTCopyright © 2007–2022. All rights reserved.