Lines Matching refs:annotationUseClass
131 Class<?> annotationUseClass) { in printAnnotationsByType() argument
132 A[] annotationsByType = annotationUseClass.getAnnotationsByType(annotationClass); in printAnnotationsByType()
135 + annotationUseClass.getName() + " with annotation " + annotationClass.getName() + ": " in printAnnotationsByType()
142 private static <A extends Annotation> void printDeclaredAnnotation(Class<?> annotationUseClass, in printDeclaredAnnotation() argument
144 A anno = annotationUseClass.getDeclaredAnnotation(annotationDefClass); in printDeclaredAnnotation()
148 System.out.println("Declared annotations by class " + annotationUseClass in printDeclaredAnnotation()
155 Class<A> annotationClass, Class<?> annotationUseClass) { in printDeclaredAnnotationsByType() argument
156 A[] annotationsByType = annotationUseClass.getDeclaredAnnotationsByType(annotationClass); in printDeclaredAnnotationsByType()
158 String msg = "Declared annnotations by type, defined by class " + annotationUseClass.getName() in printDeclaredAnnotationsByType()
195 String methodName, Class<?> annotationUseClass) { in printMethodAnnotationsByType() argument
198 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodAnnotationsByType()
235 String methodName, Class<?> annotationUseClass) { in printMethodDeclaredAnnotation() argument
238 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodDeclaredAnnotation()
276 Class<A> annotationClass, String methodName, Class<?> annotationUseClass) { in printMethodDeclaredAnnotationByType() argument
279 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodDeclaredAnnotationByType()