Searched defs:annotationClass (Results 1 - 2 of 2) sorted by relevance
/art/test/048-reflect-v8/src/ |
H A D | AnnotationTest.java | 128 // Print the annotation "annotationClass" that is associated with an element denoted by 130 private static <A extends Annotation> void printAnnotationsByType(Class<A> annotationClass, argument 132 A[] annotationsByType = annotationUseClass.getAnnotationsByType(annotationClass); 135 + annotationUseClass.getName() + " with annotation " + annotationClass.getName() + ": " 152 // Print the annotation "annotationClass" that is directly/indirectly present with an element 155 Class<A> annotationClass, Class<?> annotationUseClass) { 156 A[] annotationsByType = annotationUseClass.getDeclaredAnnotationsByType(annotationClass); 159 + " with annotation " + annotationClass.getName() + ": " 192 // Print the annotation "annotationClass" that is associated with an element denoted by 194 private static <A extends Annotation> void printMethodAnnotationsByType(Class<A> annotationClass, argument 154 printDeclaredAnnotationsByType( Class<A> annotationClass, Class<?> annotationUseClass) argument 234 printMethodDeclaredAnnotation(Class<A> annotationClass, String methodName, Class<?> annotationUseClass) argument 275 printMethodDeclaredAnnotationByType( Class<A> annotationClass, String methodName, Class<?> annotationUseClass) argument [all...] |
/art/runtime/native/ |
H A D | java_lang_Class.cc | 412 static jobject Class_getDeclaredAnnotation(JNIEnv* env, jobject javaThis, jclass annotationClass) { argument 417 // Handle public contract to throw NPE if the "annotationClass" argument was null. 418 if (UNLIKELY(annotationClass == nullptr)) { 419 ThrowNullPointerException("annotationClass"); 426 Handle<mirror::Class> annotation_class(hs.NewHandle(soa.Decode<mirror::Class*>(annotationClass)));
|
Completed in 110 milliseconds