Searched refs:getAnnotation (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/main/java/java/lang/reflect/
H A DAnnotatedElement.java40 <T extends Annotation> T getAnnotation(Class<T> annotationType); method in interface:AnnotatedElement
/libcore/libart/src/main/java/java/lang/reflect/
H A DAccessibleObject.java100 @Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { method in class:AccessibleObject
H A DConstructor.java200 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Constructor
H A DAbstractMethod.java58 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { method in class:AbstractMethod
59 return super.getAnnotation(annotationClass);
H A DMethod.java297 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Method
H A DField.java238 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Field
/libcore/benchmarks/src/benchmarks/regression/
H A DAnnotatedElementBenchmark.java67 type.getAnnotation(Marker.class);
73 field.getAnnotation(Marker.class);
79 method.getAnnotation(Marker.class);
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DAnnotationsTest.java97 // getAnnotations() should be consistent with isAnnotationPresent() and getAnnotation()
109 element.getAnnotation(null);
126 assertNotNull(element.getAnnotation(annotation));
129 assertNull(element.getAnnotation(annotation));
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DAccessibleObjectTest.java139 ao.getAnnotation(null);
147 InheritedRuntime ir = ao.getAnnotation(InheritedRuntime.class);
151 AnnotationRuntime0 rt0 = ao.getAnnotation(AnnotationRuntime0.class);
/libcore/luni/src/main/java/java/lang/
H A DPackage.java82 * @see java.lang.reflect.AnnotatedElement#getAnnotation(java.lang.Class)
85 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Package
124 return getAnnotation(annotationType) != null;
/libcore/libdvm/src/main/java/java/lang/reflect/
H A DMethod.java262 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Method
266 return getAnnotation(declaringClass, slot, annotationType);
268 static native <A extends Annotation> A getAnnotation( method in class:Method
H A DConstructor.java212 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Constructor
216 return Method.getAnnotation(declaringClass, slot, annotationType);
H A DField.java205 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Field
209 return getAnnotation(declaringClass, slot, annotationType);
211 private static native <A extends Annotation> A getAnnotation( method in class:Field
H A DAccessibleObject.java141 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { method in class:AccessibleObject
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldClassTest.java351 TestAnnotation target = PublicTestClass.class.getAnnotation(TestAnnotation.class);
354 assertNull(PublicTestClass.class.getAnnotation(Deprecated.class));
356 Deprecated target2 = ExtendTestClass.class.getAnnotation(Deprecated.class);
/libcore/libart/src/main/java/java/lang/
H A DClass.java339 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Class
340 return AnnotationAccess.getAnnotation(this, annotationType);
/libcore/libdvm/src/main/java/java/lang/
H A DClass.java285 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Class
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java67 public static <A extends java.lang.annotation.Annotation> A getAnnotation( method in class:AnnotationAccess
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 290 milliseconds