Class JavaParserEnumConstantDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.declarations.JavaParserEnumConstantDeclaration
- All Implemented Interfaces:
ResolvedDeclaration,ResolvedEnumConstantDeclaration,ResolvedValueDeclaration
public class JavaParserEnumConstantDeclaration
extends Object
implements ResolvedEnumConstantDeclaration
- Author:
- Federico Tomassetti
-
Constructor Summary
ConstructorsConstructorDescriptionJavaParserEnumConstantDeclaration(EnumConstantDeclaration wrappedNode, TypeSolver typeSolver) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asField, asMethod, asParameter, asPattern, asType, hasName, isField, isMethod, isParameter, isPattern, isType, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
asEnumConstant, isEnumConstant
-
Constructor Details
-
JavaParserEnumConstantDeclaration
public JavaParserEnumConstantDeclaration(EnumConstantDeclaration wrappedNode, TypeSolver typeSolver)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceResolvedValueDeclaration
-
getName
- Specified by:
getNamein interfaceResolvedDeclaration- Specified by:
getNamein interfaceResolvedEnumConstantDeclaration
-
getWrappedNode
Returns the JavaParser node associated with this JavaParserEnumConstantDeclaration.- Returns:
- A visitable JavaParser node wrapped by this object.
-