Document getAttributeMethods() in AnnotationUtils

Issue: SPR-11512
This commit is contained in:
Sam Brannen 2015-05-23 22:27:13 +02:00
parent 7bf609f111
commit 7e2e9a80d0
1 changed files with 8 additions and 1 deletions

View File

@ -1289,8 +1289,15 @@ public abstract class AnnotationUtils {
}
/**
* TODO Document getAttributeMethods().
* Get all methods declared in the supplied {@code annotationType} that
* match Java's requirements for annotation <em>attributes</em>.
*
* <p>All methods in the returned list will be
* {@linkplain ReflectionUtils#makeAccessible(Method) made accessible}.
*
* @param annotationType the type in which to search for attribute methods
* @return all annotation attribute methods in the specified annotation
* type; never {@code null}, though potentially <em>empty</em>
* @since 4.2
*/
static List<Method> getAttributeMethods(Class<? extends Annotation> annotationType) {