Searched refs:AnnotationA (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | AnnotatedElementParameterTest.java | 26 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA; 448 InnerClass(@AnnotationA String p1) {} in InnerClass() 463 parameter0, AnnotationA.class, new String[0]); in testImplicitConstructorParameters_innerClass() 465 parameter0, AnnotationA.class, new String[0]); in testImplicitConstructorParameters_innerClass() 467 parameter0, AnnotationA.class, null); in testImplicitConstructorParameters_innerClass() 468 AnnotatedElementTestSupport.assertIsAnnotationPresent(parameter0, AnnotationA.class, false); in testImplicitConstructorParameters_innerClass() 473 parameter1, AnnotationA.class, new String[] {"@AnnotationA"}); in testImplicitConstructorParameters_innerClass() 475 parameter1, AnnotationA.class, new String[] {"@AnnotationA"}); in testImplicitConstructorParameters_innerClass() 477 parameter1, AnnotationA.class, "@AnnotationA"); in testImplicitConstructorParameters_innerClass() 479 parameter1, AnnotationA.class, true); in testImplicitConstructorParameters_innerClass() [all …]
|
D | AnnotationsTest.java | 22 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA; 52 AnnotationA j() default @AnnotationA(); in j() field 71 assertEquals("@" + AnnotationA.class.getName() + "()", defaultValue("j").toString()); in testAnnotationDefaults()
|
D | AnnotatedElementTestSupport.java | 52 public @interface AnnotationA {} annotation in AnnotatedElementTestSupport 113 assertPresent(expectedTypes.contains(AnnotationA.class), element, AnnotationA.class); in checkAnnotatedElementPresentMethods() 151 assertDeclared(expectedTypes.contains(AnnotationA.class), element, AnnotationA.class); in checkAnnotatedElementDirectMethods()
|
D | FieldTest.java | 23 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA; 36 @AnnotationA 43 checkAnnotatedElementPresentMethods(field, AnnotationA.class, AnnotationD.class); in testFieldAnnotations()
|
D | ConstructorTest.java | 23 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA; 36 @AnnotationA 43 checkAnnotatedElementPresentMethods(constructor, AnnotationA.class, AnnotationC.class); in testConstructorAnnotations()
|
D | ExecutableParameterTest.java | 27 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA; 230 InnerClass(@AnnotationA String p1) {} in InnerClass() 246 public AnonymousBaseClass(@AnnotationA String p1) {} in AnonymousBaseClass() 271 StaticInnerClass(@AnnotationA String p1) {} in StaticInnerClass()
|
D | ClassTest.java | 22 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA; 41 @AnnotationA 49 checkAnnotatedElementPresentMethods(Type.class, AnnotationA.class, AnnotationB.class); in testClassDirectAnnotations() 50 checkAnnotatedElementDirectMethods(Type.class, AnnotationA.class, AnnotationB.class); in testClassDirectAnnotations()
|