Home
last modified time | relevance | path

Searched refs:annotationClass (Results 1 – 3 of 3) 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/test/715-clinit-implicit-parameter-annotations/src/
DMain.java129 Class<? extends Annotation> annotationClass = in DumpConstructorParameterAnnotations() local
131 Annotation annotation = parameters[i].getDeclaredAnnotation(annotationClass); in DumpConstructorParameterAnnotations()
133 System.out.println(" " + annotationClass.getName() + " " + hasAnnotation); in DumpConstructorParameterAnnotations()
135 … Annotation[] parameterAnnotations = parameters[i].getDeclaredAnnotationsByType(annotationClass); in DumpConstructorParameterAnnotations()
/art/runtime/native/
Djava_lang_Class.cc624 static jobject Class_getDeclaredAnnotation(JNIEnv* env, jobject javaThis, jclass annotationClass) { in Class_getDeclaredAnnotation() argument
630 if (UNLIKELY(annotationClass == nullptr)) { in Class_getDeclaredAnnotation()
638 Handle<mirror::Class> annotation_class(hs.NewHandle(soa.Decode<mirror::Class>(annotationClass))); in Class_getDeclaredAnnotation()