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

1 2

  /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 267 public Annotation[] getDeclaredAnnotations() {
268 return getDeclaredAnnotations(declaringClass, slot);
270 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();
179 // Package annotations aren't inherited, so getAnnotations and getDeclaredAnnotations are
184 printAnnotationArray(" ", TestAnnotations.class.getPackage().getDeclaredAnnotations());
  /libcore/luni/src/main/java/java/lang/
Package.java 110 public Annotation[] getDeclaredAnnotations() {
Class.java 264 * @see #getDeclaredAnnotations()
279 Annotation[] declaredAnnotations = getDeclaredAnnotations();
285 declaredAnnotations = sup.getDeclaredAnnotations();
470 public native 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()));
  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
FeatureUtil.java 194 annotations = classOrMethod.getDeclaredAnnotations();
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/
RobolectricTestRunner.java 457 Annotation[] annos = method.getDeclaredAnnotations();
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 

Completed in 1422 milliseconds

1 2