Package io.github.classgraph
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 AnnotationInfo
TheAnnotationInfo
object 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
TheAnnotationInfo
object for this annotation. -
annotationParameterValuesInstantiated
The annotation parameter values instantiated.
-
-
Constructor Details
-
AnnotationInvocationHandler
AnnotationInvocationHandler(Class<? extends Annotation> annotationClass, AnnotationInfo annotationInfo) Constructor.- Parameters:
annotationClass
- the annotation classannotationInfo
- the annotation info
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
-