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 Method
private TypeSolver
private 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 Expression
transformDefaultValue
(Object value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAst
Methods inherited from interface com.github.javaparser.resolution.declarations.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:
getDefaultValue
in interfaceResolvedAnnotationMemberDeclaration
-
transformDefaultValue
-
getType
Description copied from interface:ResolvedValueDeclaration
Type of the declaration.- Specified by:
getType
in interfaceResolvedValueDeclaration
-
getName
Description copied from interface:ResolvedDeclaration
Should return the name or return null if the name is not available.- Specified by:
getName
in interfaceResolvedDeclaration
-