AnnotatedElement.
AnnotationsProcessor
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Map | |
| private static final Annotation[] | |
| private static final Method[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| private static <C> Method[] | |
| pack-priv static <A extends Annotation> A | |
| pack-priv static Annotation[] | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| private static boolean | hasSameGenericTypeParameters(Method rootMethod, Method candidateMethod, Class<?>[] rootParameterTypes)
|
| private static boolean | |
| private static boolean | |
| pack-priv static boolean | isKnownEmpty(AnnotatedElement source, MergedAnnotations.
|
| private static boolean | |
| private static boolean | isWithoutHierarchy(AnnotatedElement source, MergedAnnotations.
|
| private static <C, R> R | process(C context, AnnotatedElement source, MergedAnnotations.
|
| private static <C, R> R | processClass(C context, Class<?> source, MergedAnnotations.
|
| private static <C, R> R | processClassHierarchy(C context, Class<?> source, AnnotationsProcessor<C, R> processor, boolean includeInterfaces, Predicate<Class<?>> searchEnclosingClass)
|
| private static <C, R> R | processClassHierarchy(C context, int[] aggregateIndex, Class<?> source, AnnotationsProcessor<C, R> processor, boolean includeInterfaces, Predicate<Class<?>> searchEnclosingClass)
|
| private static <C, R> R | processClassInheritedAnnotations(C context, Class<?> source, MergedAnnotations.
|
| private static <C, R> R | |
| private static <C, R> R | processMethod(C context, Method source, MergedAnnotations.
|
| private static <C, R> R | processMethodAnnotations(C context, int aggregateIndex, Method source, AnnotationsProcessor<C, R> processor)
|
| private static <C, R> R | processMethodHierarchy(C context, int[] aggregateIndex, Class<?> sourceClass, AnnotationsProcessor<C, R> processor, Method rootMethod, boolean includeInterfaces)
|
| private static <C, R> R | |
| pack-priv static <C, R> R | Returns: the result ofAnnotationsProcessor#finish(Object)an optional context object that will be passed back to the
processor context, AnnotatedElement the source element to scan source, MergedAnnotations.the search strategy to use searchStrategy,a predicate which evaluates to searchEnclosingClass, AnnotationsProcessor<C, R> true
if a search should be performed on the enclosing class of the class
supplied to the predicatethe processor that receives the annotations processor)Scan the hierarchy of the specified element for relevant annotations and call the processor as required. |
| baseTypeMethodsCache | back to summary |
|---|---|
| private static final Map<Class<?>, Method[]> baseTypeMethodsCache | |
| declaredAnnotationCache | back to summary |
|---|---|
| private static final Map<AnnotatedElement, Annotation[]> declaredAnnotationCache | |
| NO_ANNOTATIONS | back to summary |
|---|---|
| private static final Annotation[] NO_ANNOTATIONS | |
| NO_METHODS | back to summary |
|---|---|
| private static final Method[] NO_METHODS | |
| AnnotationsScanner | back to summary |
|---|---|
| private AnnotationsScanner() | |
| clearCache | back to summary |
|---|---|
| pack-priv static void clearCache() | |
| getBaseTypeMethods | back to summary |
|---|---|
| private static <C> Method[] getBaseTypeMethods(C context, Class<?> baseType) | |
| getDeclaredAnnotation | back to summary |
|---|---|
pack-priv static <A extends Annotation> A getDeclaredAnnotation(AnnotatedElement source, Class<A> annotationType)
| |
| getDeclaredAnnotations | back to summary |
|---|---|
| pack-priv static Annotation[] getDeclaredAnnotations(AnnotatedElement source, boolean defensive) | |
| hasPlainJavaAnnotationsOnly | back to summary |
|---|---|
| pack-priv static boolean hasPlainJavaAnnotationsOnly(Object annotatedElement) | |
| hasPlainJavaAnnotationsOnly | back to summary |
|---|---|
| pack-priv static boolean hasPlainJavaAnnotationsOnly(Class<?> type) | |
| hasSameGenericTypeParameters | back to summary |
|---|---|
| private static boolean hasSameGenericTypeParameters(Method rootMethod, Method candidateMethod, Class<?>[] rootParameterTypes) | |
| hasSameParameterTypes | back to summary |
|---|---|
| private static boolean hasSameParameterTypes(Method rootMethod, Method candidateMethod) | |
| isIgnorable | back to summary |
|---|---|
| private static boolean isIgnorable(Class<?> annotationType) | |
| isKnownEmpty | back to summary |
|---|---|
| pack-priv static boolean isKnownEmpty(AnnotatedElement source, MergedAnnotations. | |
| isOverride | back to summary |
|---|---|
| private static boolean isOverride(Method rootMethod, Method candidateMethod) | |
| isWithoutHierarchy | back to summary |
|---|---|
| private static boolean isWithoutHierarchy(AnnotatedElement source, MergedAnnotations. | |
| process | back to summary |
|---|---|
private static <C, R> R process(C context, AnnotatedElement source, MergedAnnotations.
| |
| processClass | back to summary |
|---|---|
private static <C, R> R processClass(C context, Class<?> source, MergedAnnotations.
| |
| processClassHierarchy | back to summary |
|---|---|
private static <C, R> R processClassHierarchy(C context, Class<?> source, AnnotationsProcessor<C, R> processor, boolean includeInterfaces, Predicate<Class<?>> searchEnclosingClass)
| |
| processClassHierarchy | back to summary |
|---|---|
private static <C, R> R processClassHierarchy(C context, int[] aggregateIndex, Class<?> source, AnnotationsProcessor<C, R> processor, boolean includeInterfaces, Predicate<Class<?>> searchEnclosingClass)
| |
| processClassInheritedAnnotations | back to summary |
|---|---|
private static <C, R> R processClassInheritedAnnotations(C context, Class<?> source, MergedAnnotations.
| |
| processElement | back to summary |
|---|---|
private static <C, R> R processElement(C context, AnnotatedElement source, AnnotationsProcessor<C, R> processor)
| |
| processMethod | back to summary |
|---|---|
private static <C, R> R processMethod(C context, Method source, MergedAnnotations.
| |
| processMethodAnnotations | back to summary |
|---|---|
private static <C, R> R processMethodAnnotations(C context, int aggregateIndex, Method source, AnnotationsProcessor<C, R> processor)
| |
| processMethodHierarchy | back to summary |
|---|---|
private static <C, R> R processMethodHierarchy(C context, int[] aggregateIndex, Class<?> sourceClass, AnnotationsProcessor<C, R> processor, Method rootMethod, boolean includeInterfaces)
| |
| processMethodInheritedAnnotations | back to summary |
|---|---|
private static <C, R> R processMethodInheritedAnnotations(C context, Method source, AnnotationsProcessor<C, R> processor)
| |
| scan | back to summary |
|---|---|
| pack-priv static <C, R> R scan(C context, AnnotatedElement source, MergedAnnotations. Scan the hierarchy of the specified element for relevant annotations and call the processor as required.
| |