/** * Returns, efficiently, all the non-overridden fields in this class and its * superclasses that are annotated. * * @since 4.12 */ public List<FrameworkField> getAnnotatedFields() { return collectValues(fieldsForAnnotations); }
/** * Returns, efficiently, all the non-overridden methods in this class and * its superclasses that are annotated}. * * @since 4.12 */ public List<FrameworkMethod> getAnnotatedMethods() { List<FrameworkMethod> methods = collectValues(methodsForAnnotations); Collections.sort(methods, METHOD_COMPARATOR); return methods; }
/** * Returns, efficiently, all the non-overridden fields in this class and its * superclasses that are annotated. * * @since 4.12 */ public List<FrameworkField> getAnnotatedFields() { return collectValues(fieldsForAnnotations); }
/** * Returns, efficiently, all the non-overridden fields in this class and its * superclasses that are annotated. * * @since 4.12 */ public List<FrameworkField> getAnnotatedFields() { return collectValues(fieldsForAnnotations); }
/** * Returns, efficiently, all the non-overridden methods in this class and * its superclasses that are annotated}. * * @since 4.12 */ public List<FrameworkMethod> getAnnotatedMethods() { List<FrameworkMethod> methods = collectValues(methodsForAnnotations); Collections.sort(methods, METHOD_COMPARATOR); return methods; }
/** * Returns, efficiently, all the non-overridden methods in this class and * its superclasses that are annotated}. * * @since 4.12 */ public List<FrameworkMethod> getAnnotatedMethods() { List<FrameworkMethod> methods = collectValues(methodsForAnnotations); Collections.sort(methods, METHOD_COMPARATOR); return methods; }