Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/lang/reflect/
DAnnotatedElement.java70 boolean isAnnotationPresent(Class<? extends Annotation> annotationType); in isAnnotationPresent() method
DAccessibleObject.java178 public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { in isAnnotationPresent() method in AccessibleObject
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DAccessibleObjectTest.java242 ao.isAnnotationPresent(AnnotationRuntime0.class)); in test_isAnnotationPresent()
244 ao.isAnnotationPresent(AnnotationSource0.class)); in test_isAnnotationPresent()
247 ao.isAnnotationPresent(null); in test_isAnnotationPresent()
/libcore/luni/src/main/java/java/lang/
DPackage.java132 public boolean isAnnotationPresent( in isAnnotationPresent() method in Package
DClass.java328 clazz.isAnnotationPresent(Inherited.class)) { in getAnnotations()
1273 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in Class
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassTest.java687 assertTrue(PublicTestClass.class.isAnnotationPresent(TestAnnotation.class)); in test_isAnnotationPresent()
688 assertFalse(ExtendTestClass1.class.isAnnotationPresent(TestAnnotation.class)); in test_isAnnotationPresent()
689 assertFalse(String.class.isAnnotationPresent(Deprecated.class)); in test_isAnnotationPresent()
690 assertTrue(ExtendTestClass.class.isAnnotationPresent(TestAnnotation.class)); in test_isAnnotationPresent()
691 assertTrue(ExtendTestClass.class.isAnnotationPresent(Deprecated.class)); in test_isAnnotationPresent()