Searched refs:RetentionPolicy (Results 1 – 25 of 64) sorted by relevance
123
20 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()
22 import java.lang.annotation.RetentionPolicy;61 @Retention(RetentionPolicy.CLASS)78 @Retention(RetentionPolicy.CLASS)
20 import java.lang.annotation.RetentionPolicy;41 @Retention(RetentionPolicy.RUNTIME)84 @Retention(RetentionPolicy.CLASS)87 @Retention(RetentionPolicy.RUNTIME)90 @Retention(RetentionPolicy.SOURCE)
44 @Retention(RetentionPolicy.RUNTIME)51 RetentionPolicy value(); in value()
24 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)
20 import java.lang.annotation.RetentionPolicy;22 @Retention(RetentionPolicy.RUNTIME)
5 import java.lang.annotation.RetentionPolicy;8 @Retention(RetentionPolicy.RUNTIME)
21 import java.lang.annotation.RetentionPolicy;27 @Retention(RetentionPolicy.RUNTIME)
21 import java.lang.annotation.RetentionPolicy;31 @Retention(RetentionPolicy.RUNTIME)
21 import java.lang.annotation.RetentionPolicy;32 @Retention(RetentionPolicy.RUNTIME)
21 import java.lang.annotation.RetentionPolicy;44 @Retention(RetentionPolicy.RUNTIME)
21 import java.lang.annotation.RetentionPolicy;75 @Retention(RetentionPolicy.RUNTIME) // Let the GC or interpreter ask, if they need to.
21 import java.lang.annotation.RetentionPolicy;82 @Retention(RetentionPolicy.RUNTIME) // Let the GC or interpreter ask, if they need to.
21 import java.lang.annotation.RetentionPolicy;97 @Retention(RetentionPolicy.CLASS) // Save memory, don't instantiate as an object at runtime.
21 import java.lang.annotation.RetentionPolicy;66 @Retention(RetentionPolicy.CLASS) // Save memory, don't instantiate as an object at runtime.
20 import java.lang.annotation.RetentionPolicy;25 @Retention(RetentionPolicy.RUNTIME)