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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javassist.CtMethodprivate static Map<Class<? extends javassist.bytecode.annotation.MemberValue>, Function<javassist.bytecode.annotation.MemberValue, ? extends Expression>> private TypeSolver -
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
-
Field Details
-
memberValueAsExressionConverter
private static Map<Class<? extends javassist.bytecode.annotation.MemberValue>, Function<javassist.bytecode.annotation.MemberValue, ? extends Expression>> memberValueAsExressionConverter -
annotationMember
private javassist.CtMethod annotationMember -
typeSolver
-
-
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
-