/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | AccessibleObject.java | 210 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in AccessibleObject 211 return AnnotatedElement.super.isAnnotationPresent(annotationClass); in isAnnotationPresent()
|
D | AnnotatedElement.java | 252 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method
|
D | Field.java | 917 public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { in isAnnotationPresent() method in Field
|
D | Executable.java | 645 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/ |
D | AccessibleObjectTest.java | 188 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/ |
D | AnnotatedElementTestSupport.java | 119 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()
|
D | ClassTest.java | 38 Repeated.class.isAnnotationPresent(Inherited.class); in setUp()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 85 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/ |
D | AnnotatedElement.annotated.java | 36 public default boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lan… in isAnnotationPresent() method
|
D | AccessibleObject.annotated.java | 44 public boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.annota… in isAnnotationPresent() method in AccessibleObject
|
D | Executable.annotated.java | 70 public final boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.… in isAnnotationPresent() method in Executable
|
D | Field.annotated.java | 98 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/ |
D | AccessibleObject.java | 61 public boolean isAnnotationPresent( in isAnnotationPresent() method in AccessibleObject
|
D | Field.java | 158 public boolean isAnnotationPresent( in isAnnotationPresent() method in Field
|
D | Executable.java | 165 public final boolean isAnnotationPresent( in isAnnotationPresent() method in Executable
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 617 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/ |
D | Package.java | 412 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in Package 413 return AnnotatedElement.super.isAnnotationPresent(annotationClass); in isAnnotationPresent()
|
D | Class.java | 2547 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in Class
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 172 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/ |
D | ProxyTest.java | 411 assertFalse(field.isAnnotationPresent(Deprecated.class)); in test24846()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 163 public boolean isAnnotationPresent(@libcore.util.NonNull java.lang.Class<? extends java.lang.annota… in isAnnotationPresent() method in Class
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 367 public boolean isAnnotationPresent( in isAnnotationPresent() method in Class
|
/libcore/api/ |
D | current.txt | 4444 …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…
|