Lines Matching defs:Annotation
65 public static <A extends Annotation> A[] getDirectlyAndIndirectlyPresent(
66 Map<Class<? extends Annotation>, Annotation> annotations,
98 private static <A extends Annotation> A[] getIndirectlyPresent(
99 Map<Class<? extends Annotation>, Annotation> annotations,
106 Class<? extends Annotation> containerClass = repeatable.value();
108 Annotation container = annotations.get(containerClass);
127 private static <A extends Annotation> boolean containerBeforeContainee(
128 Map<Class<? extends Annotation>, Annotation> annotations,
131 Class<? extends Annotation> containerClass =
134 for (Class<? extends Annotation> c : annotations.keySet()) {
159 public static <A extends Annotation> A[] getAssociatedAnnotations(
160 Map<Class<? extends Annotation>, Annotation> declaredAnnotations,
184 private static <A extends Annotation> A[] getValueArray(Annotation container) {
190 Class<? extends Annotation> containerClass = container.annotationType();
203 // This will erase to (Annotation[]) but we do a runtime cast on the
244 // This will erase to (Annotation[]) but we do a runtime cast on the
260 private static AnnotationFormatError invalidContainerException(Annotation anno,
271 private static <A extends Annotation> void checkTypes(A[] annotations,
272 Annotation container,