Home
last modified time | relevance | path

Searched refs:annotation (Results 1 – 25 of 81) sorted by relevance

1234

/libcore/luni/src/main/java/java/lang/
DFindBugsSuppressWarnings.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
25 import java.lang.annotation.Retention;
26 import static java.lang.annotation.RetentionPolicy.CLASS;
27 import java.lang.annotation.Target;
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DTestAnnotation4.java1 package org.apache.harmony.annotation.tests.java.lang.annotation;
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
DTestAnnotation2.java1 package org.apache.harmony.annotation.tests.java.lang.annotation;
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
DTestAnnotation3.java1 package org.apache.harmony.annotation.tests.java.lang.annotation;
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
DTestAnnotation3b.java1 package org.apache.harmony.annotation.tests.java.lang.annotation;
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
DTestAnnotation1.java17 package org.apache.harmony.annotation.tests.java.lang.annotation;
19 import java.lang.annotation.Retention;
20 import java.lang.annotation.RetentionPolicy;
DTestEnum1.java1 package org.apache.harmony.annotation.tests.java.lang.annotation;
DTestEnum1b.java1 package org.apache.harmony.annotation.tests.java.lang.annotation;
/libcore/dalvik/src/main/java/dalvik/annotation/
DInnerClass.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DAnnotationDefault.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DEnclosingClass.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DEnclosingMethod.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DMemberClasses.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DSignature.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DThrows.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DKnownFailure.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DTestTargetClass.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DTestTarget.java17 package dalvik.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java19 import java.lang.annotation.Annotation;
20 import java.lang.annotation.IncompleteAnnotationException;
21 import java.lang.annotation.Repeatable;
108 private static <T extends Annotation> void insertAnnotationValues(Annotation annotation, in insertAnnotationValues() argument
124 valuesMethod = annotation.getClass().getDeclaredMethod("value"); in insertAnnotationValues()
128 throw new AssertionError("annotation container = " + annotation + in insertAnnotationValues()
131 throw new IncompleteAnnotationException(annotation.getClass(), "value"); in insertAnnotationValues()
136 throw new AssertionError("annotation container = " + annotation + in insertAnnotationValues()
142 throw new AssertionError("annotation container = " + annotation + in insertAnnotationValues()
149 nestedAnnotations = (T[])valuesMethod.invoke(annotation); // Safe because of #getMethod. in insertAnnotationValues()
/libcore/luni/src/test/java/libcore/java/lang/
DTestPackageAnnotation.java18 import java.lang.annotation.ElementType;
19 import java.lang.annotation.Retention;
20 import java.lang.annotation.RetentionPolicy;
21 import java.lang.annotation.Target;
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTypeMismatchExceptionTest.java18 package org.apache.harmony.annotation.tests.java.lang.annotation;
20 import java.lang.annotation.AnnotationTypeMismatchException;
DIncompleteAnnotationExceptionTest.java18 package org.apache.harmony.annotation.tests.java.lang.annotation;
20 import java.lang.annotation.IncompleteAnnotationException;
DAnnotationFormatErrorTest.java18 package org.apache.harmony.annotation.tests.java.lang.annotation;
20 import java.lang.annotation.AnnotationFormatError;
DRetentionPolicyTest.java18 package org.apache.harmony.annotation.tests.java.lang.annotation;
20 import java.lang.annotation.RetentionPolicy;
/libcore/ojluni/src/main/java/sun/reflect/
DCallerSensitive.java28 import java.lang.annotation.*;
29 import static java.lang.annotation.ElementType.*;

1234