Class ReflectionEnumConstantDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.reflectionmodel.ReflectionEnumConstantDeclaration
- All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST, com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration, com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
public class ReflectionEnumConstantDeclaration
extends Object
implements com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
-
Constructor Summary
ConstructorsConstructorDescriptionReflectionEnumConstantDeclaration(Field enumConstant, com.github.javaparser.resolution.TypeSolver typeSolver) -
Method Summary
Methods inherited from class 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, isArrayLength, isField, isMethod, isParameter, isType, isTypePattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
asEnumConstant, isEnumConstant
-
Constructor Details
-
ReflectionEnumConstantDeclaration
public ReflectionEnumConstantDeclaration(Field enumConstant, com.github.javaparser.resolution.TypeSolver typeSolver)
-
-
Method Details
-
getName
- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()- Specified by:
getTypein interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-