Class JavassistAnnotationMemberDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistAnnotationMemberDeclaration
- All Implemented Interfaces:
AssociableToAST, ResolvedAnnotationMemberDeclaration, ResolvedDeclaration, ResolvedValueDeclaration
public class JavassistAnnotationMemberDeclaration
extends Object
implements ResolvedAnnotationMemberDeclaration
- Author:
- Malte Skoruppa
-
Constructor Summary
ConstructorsConstructorDescriptionJavassistAnnotationMemberDeclaration(javassist.CtMethod annotationMember, TypeSolver typeSolver) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AssociableToAST
toAst, toAstMethods inherited from interface ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, hasName, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariable
-
Constructor Details
-
JavassistAnnotationMemberDeclaration
public JavassistAnnotationMemberDeclaration(javassist.CtMethod annotationMember, TypeSolver typeSolver)
-
-
Method Details
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceResolvedAnnotationMemberDeclaration
-
getType
Description copied from interface:ResolvedValueDeclarationType of the declaration.- Specified by:
getTypein interfaceResolvedValueDeclaration
-
getName
Description copied from interface:ResolvedDeclarationShould return the name or return null if the name is not available.- Specified by:
getNamein interfaceResolvedDeclaration
-