Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementParameterTest.java106 private static class AnnotatedMethodClass { class in AnnotatedElementParameterTest
121 return AnnotatedMethodClass.class.getDeclaredMethod("noAnnotation", String.class); in getMethodWithoutAnnotations()
125 return AnnotatedMethodClass.class.getDeclaredMethod( in getMethodMultipleAnnotationOddity()
130 return AnnotatedMethodClass.class.getDeclaredMethod( in getMethodMultipleAnnotationExplicitSingle()
135 return AnnotatedMethodClass.class.getDeclaredMethod("multipleAnnotation", String.class); in getMethodMultipleAnnotation()
139 return AnnotatedMethodClass.class.getDeclaredMethod("singleAnnotation", String.class); in getMethodSingleAnnotation()
143 return AnnotatedMethodClass.class.getDeclaredMethod("staticSingleAnnotation", in getMethodStaticSingleAnnotation()
161 AnnotatedMethodClass.getMethodWithoutAnnotations(), in testMethodDeclaredAnnotation_repeated()
164 AnnotatedMethodClass.getMethodMultipleAnnotationOddity(), in testMethodDeclaredAnnotation_repeated()
167 AnnotatedMethodClass.getMethodMultipleAnnotationExplicitSingle(), in testMethodDeclaredAnnotation_repeated()
[all …]
DExecutableParameterTest.java70 private static class AnnotatedMethodClass { class in ExecutableParameterTest
85 return AnnotatedMethodClass.class.getDeclaredMethod("noAnnotation", String.class); in getMethodWithoutAnnotations()
89 return AnnotatedMethodClass.class.getDeclaredMethod( in getMethodMultipleAnnotationOddity()
94 return AnnotatedMethodClass.class.getDeclaredMethod( in getMethodMultipleAnnotationExplicitSingle()
99 return AnnotatedMethodClass.class.getDeclaredMethod("multipleAnnotation", String.class); in getMethodMultipleAnnotation()
103 return AnnotatedMethodClass.class.getDeclaredMethod("singleAnnotation", String.class); in getMethodSingleAnnotation()
107 return AnnotatedMethodClass.class.getDeclaredMethod("staticSingleAnnotation", in getMethodStaticSingleAnnotation()
124 AnnotatedMethodClass.getMethodWithoutAnnotations(), EXPECT_EMPTY); in testMethodGetParameterAnnotations_repeated()
126 AnnotatedMethodClass.getMethodMultipleAnnotationOddity(), in testMethodGetParameterAnnotations_repeated()
129 AnnotatedMethodClass.getMethodMultipleAnnotationExplicitSingle(), in testMethodGetParameterAnnotations_repeated()
[all …]