Class AnnotationInfo.AnnotationInvocationHandler
java.lang.Object
io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
AnnotationInfo
private static class AnnotationInfo.AnnotationInvocationHandler
extends Object
implements InvocationHandler
InvocationHandler for dynamically instantiating an Annotation object.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<? extends Annotation> The annotation class.private final AnnotationInfoTheAnnotationInfoobject for this annotation.The annotation parameter values instantiated. -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationInvocationHandler(Class<? extends Annotation> annotationClass, AnnotationInfo annotationInfo) Constructor. -
Method Summary
-
Field Details
-
annotationClass
The annotation class. -
annotationInfo
TheAnnotationInfoobject for this annotation. -
annotationParameterValuesInstantiated
-
-
Constructor Details
-
AnnotationInvocationHandler
AnnotationInvocationHandler(Class<? extends Annotation> annotationClass, AnnotationInfo annotationInfo) Constructor.- Parameters:
annotationClass- the annotation classannotationInfo- the annotation info
-
-
Method Details
-
invoke
-