HomeSort by relevance Sort by last modified time
    Searched refs:AnnotationA (Results 1 - 8 of 8) sorted by null

  /art/test/715-clinit-implicit-parameter-annotations/src/
Main.java 26 public @interface AnnotationA {}
41 Inner(@AnnotationA int number, String text) {
47 Inner(@AnnotationA int number, String text, @AnnotationB("x") boolean flag) {
61 StaticInner(@AnnotationA int number, String text) {
67 StaticInner(@AnnotationB("foo") int number, String text, @AnnotationA boolean flag) {
82 ImportantNumber(@AnnotationA double doubleValue) {
99 public AnonymousBase(@AnnotationA String s) {}
126 Object[] opaqueClasses = new Object[] {AnnotationA.class, AnnotationB.class};
148 LocalClass(@AnnotationA int integerValue) {
161 LocalClassWithCapture(@AnnotationA String p1)
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
AnnotatedElementParameterTest.java 26 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA;
448 InnerClass(@AnnotationA String p1) {}
463 parameter0, AnnotationA.class, new String[0]);
465 parameter0, AnnotationA.class, new String[0]);
467 parameter0, AnnotationA.class, null);
468 AnnotatedElementTestSupport.assertIsAnnotationPresent(parameter0, AnnotationA.class, false);
473 parameter1, AnnotationA.class, new String[] {"@AnnotationA"});
475 parameter1, AnnotationA.class, new String[] {"@AnnotationA"});
    [all...]
AnnotationsTest.java 24 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA;
47 AnnotationA j() default @AnnotationA();
66 assertEquals("@" + AnnotationA.class.getName() + "()", defaultValue("j").toString());
AnnotatedElementTestSupport.java 52 public @interface AnnotationA {}
99 * {@link AnnotationA}, {@link AnnotationB}, {@link AnnotationC}, {@link AnnotationD} this
113 assertPresent(expectedTypes.contains(AnnotationA.class), element, AnnotationA.class);
138 * {@link AnnotationA}, {@link AnnotationB} and {@link AnnotationC}, this method also asserts
151 assertDeclared(expectedTypes.contains(AnnotationA.class), element, AnnotationA.class);
FieldTest.java 23 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA;
36 @AnnotationA
43 checkAnnotatedElementPresentMethods(field, AnnotationA.class, AnnotationD.class);
ClassTest.java 22 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA;
41 @AnnotationA
49 checkAnnotatedElementPresentMethods(Type.class, AnnotationA.class, AnnotationB.class);
50 checkAnnotatedElementDirectMethods(Type.class, AnnotationA.class, AnnotationB.class);
ExecutableParameterTest.java 27 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA;
230 InnerClass(@AnnotationA String p1) {}
242 assertAnnotationsMatch(annotations[1], new String[] { "@AnnotationA" });
246 public AnonymousBaseClass(@AnnotationA String p1) {}
271 StaticInnerClass(@AnnotationA String p1) {}
282 assertAnnotationsMatch(annotations[0], new String[] { "@AnnotationA" });
ConstructorTest.java 23 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.AnnotationA;
36 @AnnotationA
43 checkAnnotatedElementPresentMethods(constructor, AnnotationA.class, AnnotationC.class);

Completed in 365 milliseconds