@Test public void findMethodsAnnotatedByテスト正常系3() { Method[] actual = Annotations.findMethodsAnnotatedBy(Annotation3.class, AnnotationsTestBean.class); assertNotNull(actual); assertEquals(0, actual.length); }
public static Method[] findMethodsAnnotatedBy( Class<? extends Annotation> decorator, Class<?> target) { return collectMethodsAnnotatedBy(decorator, target.getMethods()); }
Annotations { public static Method[] findMethodsAnnotatedBy( Class<? extends Annotation> decorator, Class<?> target) { return collectMethodsAnnotatedBy(decorator, target.getMethods()); } }
Annotations { public static Method[] findMethodsAnnotatedBy( Class<? extends Annotation> decorator, Class<?> target) { return collectMethodsAnnotatedBy(decorator, target.getMethods()); } private  Annotations(); }
Annotations { public static Method[] findMethodsAnnotatedBy( Class<? extends Annotation> decorator, Class<?> target) { return collectMethodsAnnotatedBy(decorator, target.getMethods()); } private  Annotations(); static Object findAttributeValueFor(Annotation target, String attribute); static Method[] findMethodsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Method[] findDeclaredMethodsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Method[] collectMethodsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Method[] methods); static Field[] findFieldsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Field[] findDeclaredFieldsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Field[] collectFieldsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Field[] fields); }
Annotations { public static Method[] findMethodsAnnotatedBy( Class<? extends Annotation> decorator, Class<?> target) { return collectMethodsAnnotatedBy(decorator, target.getMethods()); } private  Annotations(); static Object findAttributeValueFor(Annotation target, String attribute); static Method[] findMethodsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Method[] findDeclaredMethodsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Method[] collectMethodsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Method[] methods); static Field[] findFieldsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Field[] findDeclaredFieldsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Class<?> target); static Field[] collectFieldsAnnotatedBy(
            Class<? extends Annotation> decorator,
            Field[] fields);  }