Home
last modified time | relevance | path

Searched refs:RetentionPolicy (Results 1 – 25 of 72) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotations57649Test.java4 import java.lang.annotation.RetentionPolicy;
36 @Retention(RetentionPolicy.RUNTIME) @interface A0 {}
37 @Retention(RetentionPolicy.RUNTIME) @interface A1 {}
38 @Retention(RetentionPolicy.RUNTIME) @interface A2 {}
39 @Retention(RetentionPolicy.RUNTIME) @interface A3 {}
40 @Retention(RetentionPolicy.RUNTIME) @interface A4 {}
41 @Retention(RetentionPolicy.RUNTIME) @interface A5 {}
42 @Retention(RetentionPolicy.RUNTIME) @interface A6 {}
43 @Retention(RetentionPolicy.RUNTIME) @interface A7 {}
44 @Retention(RetentionPolicy.RUNTIME) @interface A8 {}
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DRetentionPolicyTest.java20 import java.lang.annotation.RetentionPolicy;
35 assertSame(RetentionPolicy.CLASS, RetentionPolicy in test_valueOfLjava_lang_String()
37 assertSame(RetentionPolicy.RUNTIME, RetentionPolicy in test_valueOfLjava_lang_String()
39 assertSame(RetentionPolicy.SOURCE, RetentionPolicy in test_valueOfLjava_lang_String()
42 RetentionPolicy.valueOf("OTHER"); in test_valueOfLjava_lang_String()
55 RetentionPolicy[] values = RetentionPolicy.values(); in test_values()
58 assertTrue(Arrays.binarySearch(values, RetentionPolicy.RUNTIME) >= 0); in test_values()
/libcore/dalvik/src/main/java/dalvik/annotation/codegen/
DCovariantReturnType.java22 import java.lang.annotation.RetentionPolicy;
62 @Retention(RetentionPolicy.CLASS)
82 @Retention(RetentionPolicy.CLASS)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java24 import java.lang.annotation.RetentionPolicy;
49 @Retention(RetentionPolicy.RUNTIME)
54 @Retention(RetentionPolicy.RUNTIME)
59 @Retention(RetentionPolicy.CLASS)
64 @Retention(RetentionPolicy.SOURCE)
70 @Retention(RetentionPolicy.RUNTIME)
/libcore/ojluni/src/main/java/java/lang/annotation/
DRetention.java44 @Retention(RetentionPolicy.RUNTIME)
51 RetentionPolicy value(); in value()
/libcore/luni/src/test/annotations/src/libcore/tests/annotations/
DSourceRetentionAnnotation.java19 import java.lang.annotation.RetentionPolicy;
21 @Retention(RetentionPolicy.SOURCE)
DRuntimeRetentionAnnotation.java19 import java.lang.annotation.RetentionPolicy;
21 @Retention(RetentionPolicy.RUNTIME)
DClassRetentionAnnotation.java19 import java.lang.annotation.RetentionPolicy;
21 @Retention(RetentionPolicy.CLASS)
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DTestAnnotation1.java20 import java.lang.annotation.RetentionPolicy;
22 @Retention(RetentionPolicy.RUNTIME)
/libcore/dalvik/src/main/java/dalvik/annotation/
DInnerClass.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DSignature.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DMemberClasses.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DSourceDebugExtension.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DThrows.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DEnclosingMethod.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DAnnotationDefault.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DEnclosingClass.java21 import java.lang.annotation.RetentionPolicy;
27 @Retention(RetentionPolicy.RUNTIME)
DKnownFailure.java21 import java.lang.annotation.RetentionPolicy;
31 @Retention(RetentionPolicy.RUNTIME)
DTestTargetClass.java21 import java.lang.annotation.RetentionPolicy;
32 @Retention(RetentionPolicy.RUNTIME)
DMethodParameters.java21 import java.lang.annotation.RetentionPolicy;
44 @Retention(RetentionPolicy.RUNTIME)
/libcore/dalvik/src/main/java/dalvik/annotation/optimization/
DDeadReferenceSafe.java21 import java.lang.annotation.RetentionPolicy;
75 @Retention(RetentionPolicy.RUNTIME) // Let the GC or interpreter ask, if they need to.
DCriticalNative.java21 import java.lang.annotation.RetentionPolicy;
97 @Retention(RetentionPolicy.CLASS) // Save memory, don't instantiate as an object at runtime.
DReachabilitySensitive.java21 import java.lang.annotation.RetentionPolicy;
83 @Retention(RetentionPolicy.RUNTIME) // Let the GC or interpreter ask, if they need to.
DFastNative.java21 import java.lang.annotation.RetentionPolicy;
77 @Retention(RetentionPolicy.CLASS) // Save memory, don't instantiate as an object at runtime.
/libcore/luni/src/test/java/libcore/java/lang/
DTestPackageAnnotation.java20 import java.lang.annotation.RetentionPolicy;
25 @Retention(RetentionPolicy.RUNTIME)

123