Home
last modified time | relevance | path

Searched refs:getDeclaredAnnotations (Results 1 – 25 of 35) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations(); in test_annotationType()
49 m1.getDeclaredAnnotations()[0].equals(m2 in test_equals()
50 .getDeclaredAnnotations()[0])); in test_equals()
75 Annotation a1 = me1.getDeclaredAnnotations()[0]; in test_equals()
76 Annotation a2 = me2.getDeclaredAnnotations()[0]; in test_equals()
88 Annotation a1 = me1.getDeclaredAnnotations()[0]; in test_equals()
89 Annotation a2 = me2.getDeclaredAnnotations()[0]; in test_equals()
103 Annotation a1 = AnnotatedClass.class.getDeclaredAnnotations()[0]; in test_hashCode()
121 m1.getDeclaredAnnotations()[0].hashCode()); in test_hashCode()
126 m2.getDeclaredAnnotations()[0].hashCode()); in test_hashCode()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAnnotatedElement.java354 for (Annotation annotation : getDeclaredAnnotations()) { in getDeclaredAnnotation()
428 Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method
DAccessibleObject.java227 return getDeclaredAnnotations(); in getAnnotations()
257 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AccessibleObject
DConstructor.java390 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Constructor
391 return super.getDeclaredAnnotations(); in getDeclaredAnnotations()
DParameter.java298 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Parameter
327 return getDeclaredAnnotations(); in getAnnotations()
DMethod.java501 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Method
502 return super.getDeclaredAnnotations(); in getDeclaredAnnotations()
DField.java932 public native Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAnnotatedElement.annotated.java48 …lang.annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations(); in getDeclaredAnnotations() method
DAccessibleObject.annotated.java54 …tation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations() { throw … in getDeclaredAnnotations() method in AccessibleObject
DConstructor.annotated.java70 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { throw new RuntimeException("Stu… in getDeclaredAnnotations() method in Constructor
DParameter.annotated.java63 …tation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations() { throw … in getDeclaredAnnotations() method in Parameter
DExecutable.annotated.java68 …tation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations() { throw … in getDeclaredAnnotations() method in Executable
DMethod.annotated.java80 @libcore.util.NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations() { throw new… in getDeclaredAnnotations() method in Method
DField.annotated.java100 public native java.lang.annotation.Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java85 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AccessibleObject
DParameter.java109 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Parameter
DConstructor.java139 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Constructor
DField.java166 public native java.lang.annotation.Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
DExecutable.java143 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Executable
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java48 Annotation[] annotations = element.getDeclaredAnnotations(); in getDirectOrIndirectAnnotationsByType()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java356 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
359 annotations = ExtendTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
362 annotations = TestInterface.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
365 annotations = String.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DPackageTest.java43 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length); in test_getAnnotations()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java453 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Package
454 return getPackageInfo().getDeclaredAnnotations(); in getDeclaredAnnotations()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java144 ExtendsHasThreeAnnotations.class.getDeclaredAnnotations(); in timeGetDeclaredAnnotationsOnSubclass()

12