Home
last modified time | relevance | path

Searched defs:annotations (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java166 static Set<Class<? extends Annotation>> annotationsToTypes(Annotation[] annotations) { in annotationsToTypes()
228 Annotation[] annotations = annotatedElement.getDeclaredAnnotationsByType(annotationType); in assertGetDeclaredAnnotationsByType() local
240 Annotation[] annotations = annotatedElement.getAnnotationsByType(annotationType); in assertGetAnnotationsByType() local
258 static void assertAnnotationsMatch(Annotation[] annotations, in assertAnnotationsMatch()
286 private static String[] createAnnotationTestStrings(Annotation[] annotations) { in createAnnotationTestStrings()
DExecutableParameterTest.java240 Annotation[][] annotations = getParameterAnnotations(constructor, 2); in testImplicitConstructorParameters_innerClass() local
261 Annotation[][] annotations = getParameterAnnotations(constructor, 2); in testImplicitConstructorParameters_anonymousClass() local
281 Annotation[][] annotations = getParameterAnnotations(constructor, 1); in testImplicitConstructorParameters_staticInnerClass() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java157 Annotation[] annotations = ao.getAnnotations(); in test_getAnnotations() local
172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
DConstructorTest.java128 Annotation[] annotations = ctor1.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
DMethodTest.java406 Annotation[][] annotations = method.getParameterAnnotations(); in test_getParameterAnnotations() local
DFieldTest.java1532 Annotation[] annotations = field.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java48 Annotation[] annotations = element.getDeclaredAnnotations(); in getDirectOrIndirectAnnotationsByType() local
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations(); in test_annotationType() local
133 …Annotation[][] annotations = c.getDeclaredMethod("test35304_method", parameterTypes).getParameterA… in test35304() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java237 Annotation [] annotations = PublicTestClass.class.getAnnotations(); in test_getAnnotations() local
356 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations() local
/libcore/ojluni/src/main/java/java/lang/
DClass.java2576 A[] annotations = GenericDeclaration.super.getAnnotationsByType(annotationClass); in getAnnotationsByType() local
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...