HomeSort by relevance Sort by last modified time
    Searched refs:getDeclaredAnnotations (Results 1 - 24 of 24) sorted by null

  /libcore/luni/src/main/java/java/lang/reflect/
AnnotatedElement.java 58 Annotation[] getDeclaredAnnotations();
AccessibleObject.java 132 public Annotation[] getDeclaredAnnotations() {
137 // for all but Class, getAnnotations == getDeclaredAnnotations
138 return getDeclaredAnnotations();
Method.java 266 public Annotation[] getDeclaredAnnotations() {
267 return getDeclaredAnnotations(declaringClass, slot);
269 static native Annotation[] getDeclaredAnnotations(Class<?> declaringClass, int slot);
Constructor.java 202 public Annotation[] getDeclaredAnnotations() {
203 return Method.getDeclaredAnnotations(declaringClass, slot);
Field.java 203 @Override public Annotation[] getDeclaredAnnotations() {
204 return getDeclaredAnnotations(declaringClass, slot);
206 private static native Annotation[] getDeclaredAnnotations(Class declaringClass, int slot);
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
PackageTest.java 30 assertEquals(0, getClass().getPackage().getDeclaredAnnotations().length);
OldClassTest.java 361 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations();
364 annotations = ExtendTestClass.class.getDeclaredAnnotations();
367 annotations = TestInterface.class.getDeclaredAnnotations();
370 annotations = String.class.getDeclaredAnnotations();
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
AnnotationTest.java 36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations();
49 m1.getDeclaredAnnotations()[0].equals(m2
50 .getDeclaredAnnotations()[0]));
75 Annotation a1 = me1.getDeclaredAnnotations()[0];
76 Annotation a2 = me2.getDeclaredAnnotations()[0];
88 Annotation a1 = me1.getDeclaredAnnotations()[0];
89 Annotation a2 = me2.getDeclaredAnnotations()[0];
103 Annotation a1 = AnnotatedClass.class.getDeclaredAnnotations()[0];
121 m1.getDeclaredAnnotations()[0].hashCode());
126 m2.getDeclaredAnnotations()[0].hashCode())
    [all...]
  /dalvik/tests/004-annotations/src/android/test/anno/
TestAnnotations.java 39 annos = c.getDeclaredAnnotations();
50 annos = m.getDeclaredAnnotations();
61 annos = f.getDeclaredAnnotations();
  /libcore/luni/src/main/java/java/lang/
Package.java 104 public Annotation[] getDeclaredAnnotations() {
Class.java 282 * @see #getDeclaredAnnotations()
297 Annotation[] declaredAnnotations = getDeclaredAnnotations();
303 declaredAnnotations = sup.getDeclaredAnnotations();
511 native public Annotation[] getDeclaredAnnotations();
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
AccessibleObjectTest.java 172 Annotation[] annotations = ao.getDeclaredAnnotations();
ConstructorTest.java 129 Annotation[] annotations = ctor1.getDeclaredAnnotations();
MethodTest.java 432 * java.lang.reflect.Method#getDeclaredAnnotations()
436 Annotation[] declaredAnnotations = method.getDeclaredAnnotations();
    [all...]
FieldTest.java     [all...]
  /dalvik/tests/044-proxy/src/
BasicTest.java 75 System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations()));
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 398 milliseconds