Home
last modified time | relevance | path

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

/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.java353 for (Annotation annotation : getDeclaredAnnotations()) { in getDeclaredAnnotation()
427 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.java927 public native Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
DExecutable.java561 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Executable
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java32 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length); in test_getAnnotations()
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()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java48 Annotation[] annotations = element.getDeclaredAnnotations(); in getDirectOrIndirectAnnotationsByType()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DConstructorTest.java128 Annotation[] annotations = ctor1.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DMethodTest.java436 Annotation[] declaredAnnotations = method.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DFieldTest.java1532 Annotation[] annotations = field.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java457 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Package
458 return getPackageInfo().getDeclaredAnnotations(); in getDeclaredAnnotations()
DClass.java2580 for (Annotation declaredAnnotation : getDeclaredAnnotations()) { in getAnnotations()
2584 for (Annotation declaredAnnotation : sup.getDeclaredAnnotations()) { in getAnnotations()
2610 public native Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Class
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java144 ExtendsHasThreeAnnotations.class.getDeclaredAnnotations(); in timeGetDeclaredAnnotationsOnSubclass()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java147 …et<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getDeclaredAnnotations()); in checkAnnotatedElementDirectMethods()
/libcore/annotations/
Dojluni.jaif1923 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;:
1938 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;:
1948 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;:
2016 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;:
2094 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;:
2130 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;: