Home
last modified time | relevance | path

Searched refs:annotationClass (Results 1 – 2 of 2) sorted by relevance

/art/test/048-reflect-v8/src/
DAnnotationTest.java130 private static <A extends Annotation> void printAnnotationsByType(Class<A> annotationClass, in printAnnotationsByType() argument
132 A[] annotationsByType = annotationUseClass.getAnnotationsByType(annotationClass); in printAnnotationsByType()
135 + annotationUseClass.getName() + " with annotation " + annotationClass.getName() + ": " in printAnnotationsByType()
155 Class<A> annotationClass, Class<?> annotationUseClass) { in printDeclaredAnnotationsByType() argument
156 A[] annotationsByType = annotationUseClass.getDeclaredAnnotationsByType(annotationClass); in printDeclaredAnnotationsByType()
159 + " with annotation " + annotationClass.getName() + ": " in printDeclaredAnnotationsByType()
194 private static <A extends Annotation> void printMethodAnnotationsByType(Class<A> annotationClass, in printMethodAnnotationsByType() argument
202 A[] annotationsByType = m.getAnnotationsByType(annotationClass); in printMethodAnnotationsByType()
205 annotationClass.getName() + ": " + in printMethodAnnotationsByType()
234 private static <A extends Annotation> void printMethodDeclaredAnnotation(Class<A> annotationClass, in printMethodDeclaredAnnotation() argument
[all …]
/art/runtime/native/
Djava_lang_Class.cc495 static jobject Class_getDeclaredAnnotation(JNIEnv* env, jobject javaThis, jclass annotationClass) { in Class_getDeclaredAnnotation() argument
501 if (UNLIKELY(annotationClass == nullptr)) { in Class_getDeclaredAnnotation()
509 Handle<mirror::Class> annotation_class(hs.NewHandle(soa.Decode<mirror::Class>(annotationClass))); in Class_getDeclaredAnnotation()