Package io.github.classgraph
Class AnnotationInfo.AnnotationInvocationHandler
- java.lang.Object
-
- io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
- Enclosing class:
- AnnotationInfo
private static class AnnotationInfo.AnnotationInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandler
InvocationHandler
for dynamically instantiating anAnnotation
object.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<? extends java.lang.annotation.Annotation>
annotationClass
The annotation class.private AnnotationInfo
annotationInfo
TheAnnotationInfo
object for this annotation.private java.util.Map<java.lang.String,java.lang.Object>
annotationParameterValuesInstantiated
The annotation parameter values instantiated.
-
Constructor Summary
Constructors Constructor Description AnnotationInvocationHandler(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, AnnotationInfo annotationInfo)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
-
-
-
Field Detail
-
annotationClass
private final java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass
The annotation class.
-
annotationInfo
private final AnnotationInfo annotationInfo
TheAnnotationInfo
object for this annotation.
-
annotationParameterValuesInstantiated
private final java.util.Map<java.lang.String,java.lang.Object> annotationParameterValuesInstantiated
The annotation parameter values instantiated.
-
-
Constructor Detail
-
AnnotationInvocationHandler
AnnotationInvocationHandler(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, AnnotationInfo annotationInfo)
Constructor.- Parameters:
annotationClass
- the annotation classannotationInfo
- the annotation info
-
-