Searched defs:annotations (Results 1 – 10 of 10) sorted by relevance
166 static Set<Class<? extends Annotation>> annotationsToTypes(Annotation[] annotations) { in annotationsToTypes()228 Annotation[] annotations = annotatedElement.getDeclaredAnnotationsByType(annotationType); in assertGetDeclaredAnnotationsByType() local240 Annotation[] annotations = annotatedElement.getAnnotationsByType(annotationType); in assertGetAnnotationsByType() local258 static void assertAnnotationsMatch(Annotation[] annotations, in assertAnnotationsMatch()286 private static String[] createAnnotationTestStrings(Annotation[] annotations) { in createAnnotationTestStrings()
240 Annotation[][] annotations = getParameterAnnotations(constructor, 2); in testImplicitConstructorParameters_innerClass() local261 Annotation[][] annotations = getParameterAnnotations(constructor, 2); in testImplicitConstructorParameters_anonymousClass() local281 Annotation[][] annotations = getParameterAnnotations(constructor, 1); in testImplicitConstructorParameters_staticInnerClass() local
157 Annotation[] annotations = ao.getAnnotations(); in test_getAnnotations() local172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
128 Annotation[] annotations = ctor1.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
406 Annotation[][] annotations = method.getParameterAnnotations(); in test_getParameterAnnotations() local
1532 Annotation[] annotations = field.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
48 Annotation[] annotations = element.getDeclaredAnnotations(); in getDirectOrIndirectAnnotationsByType() local
36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations(); in test_annotationType() local133 …Annotation[][] annotations = c.getDeclaredMethod("test35304_method", parameterTypes).getParameterA… in test35304() local
237 Annotation [] annotations = PublicTestClass.class.getAnnotations(); in test_getAnnotations() local356 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
2543 A[] annotations = GenericDeclaration.super.getAnnotationsByType(annotationClass); in getAnnotationsByType() local