@API(status=INTERNAL,
since="5.0")
public final class AnnotationConsumerInitializer
extends java.lang.Object
AnnotationConsumerInitializer is an internal helper class for
initializing AnnotationConsumers.| Modifier and Type | Class and Description |
|---|---|
private static class |
AnnotationConsumerInitializer.AnnotationConsumingMethodSignature |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.List<AnnotationConsumerInitializer.AnnotationConsumingMethodSignature> |
annotationConsumingMethodSignatures |
| Modifier | Constructor and Description |
|---|---|
private |
AnnotationConsumerInitializer() |
| Modifier and Type | Method and Description |
|---|---|
private static <T> java.lang.Class<? extends java.lang.annotation.Annotation> |
findConsumedAnnotationType(T annotationConsumerInstance) |
private static java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType(java.lang.reflect.Method method) |
static <T> T |
initialize(java.lang.reflect.AnnotatedElement annotatedElement,
T annotationConsumerInstance) |
private static <A extends java.lang.annotation.Annotation> |
initializeAnnotationConsumer(AnnotationConsumer<A> instance,
A annotation) |
private static final java.util.List<AnnotationConsumerInitializer.AnnotationConsumingMethodSignature> annotationConsumingMethodSignatures
public static <T> T initialize(java.lang.reflect.AnnotatedElement annotatedElement,
T annotationConsumerInstance)
private static <T> java.lang.Class<? extends java.lang.annotation.Annotation> findConsumedAnnotationType(T annotationConsumerInstance)
private static java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType(java.lang.reflect.Method method)
private static <A extends java.lang.annotation.Annotation> void initializeAnnotationConsumer(AnnotationConsumer<A> instance, A annotation)