Home
last modified time | relevance | path

Searched refs:isAnnotationPresent (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
DAccessibleObject.java210 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in AccessibleObject
211 return AnnotatedElement.super.isAnnotationPresent(annotationClass); in isAnnotationPresent()
DAnnotatedElement.java252 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method
DField.java917 public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { in isAnnotationPresent() method in Field
DExecutable.java645 public final boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { in isAnnotationPresent() method in Executable
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java188 ao.isAnnotationPresent(AnnotationRuntime0.class)); in test_isAnnotationPresent()
190 ao.isAnnotationPresent(AnnotationSource0.class)); in test_isAnnotationPresent()
193 ao.isAnnotationPresent(null); in test_isAnnotationPresent()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java119 element.isAnnotationPresent(null); in checkAnnotatedElementPresentMethods()
178 assertTrue(element.isAnnotationPresent(annotation)); in assertPresent()
181 assertFalse(element.isAnnotationPresent(annotation)); in assertPresent()
206 expected, element.isAnnotationPresent(annotationType)); in assertIsAnnotationPresent()
DClassTest.java38 Repeated.class.isAnnotationPresent(Inherited.class); in setUp()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java85 type.isAnnotationPresent(Marker.class); in timeIsTypeAnnotationPresent()
91 field.isAnnotationPresent(Marker.class); in timeIsFieldAnnotationPresent()
97 method.isAnnotationPresent(Marker.class); in timeIsMethodAnnotationPresent()
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAnnotatedElement.annotated.java36 public default boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lan… in isAnnotationPresent() method
DAccessibleObject.annotated.java44 public boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.annota… in isAnnotationPresent() method in AccessibleObject
DExecutable.annotated.java70 public final boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.… in isAnnotationPresent() method in Executable
DField.annotated.java98 public boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.annota… in isAnnotationPresent() method in Field
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java61 public boolean isAnnotationPresent( in isAnnotationPresent() method in AccessibleObject
DField.java158 public boolean isAnnotationPresent( in isAnnotationPresent() method in Field
DExecutable.java165 public final boolean isAnnotationPresent( in isAnnotationPresent() method in Executable
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java617 assertTrue(PublicTestClass.class.isAnnotationPresent(TestAnnotation.class)); in test_isAnnotationPresent()
618 assertFalse(ExtendTestClass1.class.isAnnotationPresent(TestAnnotation.class)); in test_isAnnotationPresent()
619 assertFalse(String.class.isAnnotationPresent(Deprecated.class)); in test_isAnnotationPresent()
620 assertTrue(ExtendTestClass.class.isAnnotationPresent(TestAnnotation.class)); in test_isAnnotationPresent()
621 assertTrue(ExtendTestClass.class.isAnnotationPresent(Deprecated.class)); in test_isAnnotationPresent()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java412 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in Package
413 return AnnotatedElement.super.isAnnotationPresent(annotationClass); in isAnnotationPresent()
DClass.java2547 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in Class
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java172 public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annot… in isAnnotationPresent() method in Class
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java411 assertFalse(field.isAnnotationPresent(Deprecated.class)); in test24846()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java163 public boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.annota… in isAnnotationPresent() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java367 public boolean isAnnotationPresent( in isAnnotationPresent() method in Class
/libcore/api/
Dcurrent.txt4444 …method public default boolean isAnnotationPresent(@NonNull Class<? extends java.lang.annotation.An…
4491 …method public final boolean isAnnotationPresent(@NonNull Class<? extends java.lang.annotation.Anno…