Class ReflectionEnumConstantDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.reflectionmodel.ReflectionEnumConstantDeclaration
- All Implemented Interfaces:
AssociableToAST,ResolvedDeclaration,ResolvedEnumConstantDeclaration,ResolvedValueDeclaration
public class ReflectionEnumConstantDeclaration
extends Object
implements ResolvedEnumConstantDeclaration
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReflectionEnumConstantDeclaration(Field enumConstant, 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.AssociableToAST
toAst, toAstMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asField, asMethod, asParameter, asType, asTypePattern, hasName, isField, isMethod, isParameter, isType, isTypePattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
asEnumConstant, isEnumConstant
-
Field Details
-
enumConstant
-
typeSolver
-
-
Constructor Details
-
ReflectionEnumConstantDeclaration
-
-
Method Details
-
getName
Description copied from interface:ResolvedDeclarationShould return the name or return null if the name is not available.- Specified by:
getNamein interfaceResolvedDeclaration- Specified by:
getNamein interfaceResolvedEnumConstantDeclaration
-
getType
Description copied from interface:ResolvedValueDeclarationType of the declaration.- Specified by:
getTypein interfaceResolvedValueDeclaration
-