A
- Type of annotationP
- Return type of one of the method of the annotationpublic class RecursiveAnnotationProducer<A extends java.lang.annotation.Annotation,P>
extends java.lang.Object
Constructor and Description |
---|
RecursiveAnnotationProducer(java.lang.Class<A> annotationType,
java.lang.Class<?> productType,
boolean isAnnotationMethodReturningAnArray,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
static <A extends java.lang.annotation.Annotation> |
getAnnotationsRecursively(java.lang.Class<?> root,
java.lang.Class<A> a) |
java.util.Collection<P> |
getProducts(java.lang.Class<?> c) |
static <A extends java.lang.annotation.Annotation,P> |
ofClasses(java.lang.Class<A> annotationType,
boolean isAnnotationMethodReturningAnArray) |
static <A extends java.lang.annotation.Annotation,P> |
ofClasses(java.lang.Class<A> annotationType,
boolean isAnnotationMethodReturningAnArray,
java.lang.String methodName) |
public RecursiveAnnotationProducer(java.lang.Class<A> annotationType, java.lang.Class<?> productType, boolean isAnnotationMethodReturningAnArray, java.lang.String methodName)
public static <A extends java.lang.annotation.Annotation,P> RecursiveAnnotationProducer<A,P> ofClasses(java.lang.Class<A> annotationType, boolean isAnnotationMethodReturningAnArray)
public static <A extends java.lang.annotation.Annotation,P> RecursiveAnnotationProducer<A,P> ofClasses(java.lang.Class<A> annotationType, boolean isAnnotationMethodReturningAnArray, java.lang.String methodName)
public java.util.Collection<P> getProducts(java.lang.Class<?> c)
public static <A extends java.lang.annotation.Annotation> java.util.List<A> getAnnotationsRecursively(java.lang.Class<?> root, java.lang.Class<A> a)