Class ReflectionAnnotationMemberDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.reflectionmodel.ReflectionAnnotationMemberDeclaration
- All Implemented Interfaces:
AssociableToAST, ResolvedAnnotationMemberDeclaration, ResolvedDeclaration, ResolvedValueDeclaration
public class ReflectionAnnotationMemberDeclaration
extends Object
implements ResolvedAnnotationMemberDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Methodprivate TypeSolverprivate static Map<Class<?>, Function<Object, ? extends Expression>> -
Constructor Summary
ConstructorsConstructorDescriptionReflectionAnnotationMemberDeclaration(Method annotationMember, TypeSolver typeSolver) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Should return the name or return null if the name is not available.getType()Type of the declaration.private ExpressiontransformDefaultValue(Object value) 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
-
valueAsExpressionConverters
-
annotationMember
-
typeSolver
-
-
Constructor Details
-
ReflectionAnnotationMemberDeclaration
-
-
Method Details
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceResolvedAnnotationMemberDeclaration
-
transformDefaultValue
-
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
-