Class JavassistEnumConstantDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistEnumConstantDeclaration
- All Implemented Interfaces:
AssociableToAST, ResolvedDeclaration, ResolvedEnumConstantDeclaration, ResolvedValueDeclaration
public class JavassistEnumConstantDeclaration
extends Object
implements ResolvedEnumConstantDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javassist.CtFieldprivate ResolvedTypeprivate TypeSolver -
Constructor Summary
ConstructorsConstructorDescriptionJavassistEnumConstantDeclaration(javassist.CtField ctField, TypeSolver typeSolver) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AssociableToAST
toAst, toAstMethods inherited from interface ResolvedDeclaration
asField, asMethod, asParameter, asType, asTypePattern, hasName, isField, isMethod, isParameter, isType, isTypePattern, isVariableMethods inherited from interface ResolvedEnumConstantDeclaration
asEnumConstant, isEnumConstant
-
Field Details
-
ctField
private javassist.CtField ctField -
typeSolver
-
type
-
-
Constructor Details
-
JavassistEnumConstantDeclaration
-
-
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
-
toString
-