Class JavassistEnumConstantDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.javassistmodel.JavassistEnumConstantDeclaration
-
- All Implemented Interfaces:
ResolvedDeclaration
,ResolvedEnumConstantDeclaration
,ResolvedValueDeclaration
public class JavassistEnumConstantDeclaration extends Object implements ResolvedEnumConstantDeclaration
- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description JavassistEnumConstantDeclaration(javassist.CtField ctField, TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
ResolvedType
getType()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asField, asMethod, asParameter, asType, hasName, isField, isMethod, isParameter, isType, isVariable
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedEnumConstantDeclaration
asEnumConstant, isEnumConstant
-
-
-
-
Constructor Detail
-
JavassistEnumConstantDeclaration
public JavassistEnumConstantDeclaration(javassist.CtField ctField, TypeSolver typeSolver)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceResolvedDeclaration
- Specified by:
getName
in interfaceResolvedEnumConstantDeclaration
-
getType
public ResolvedType getType()
- Specified by:
getType
in interfaceResolvedValueDeclaration
-
-