--- old/src/java.base/share/classes/java/lang/reflect/AnnotatedElement.java 2017-05-05 15:25:41.347354092 -0700 +++ new/src/java.base/share/classes/java/lang/reflect/AnnotatedElement.java 2017-05-05 15:25:41.219348502 -0700 @@ -105,10 +105,13 @@ *

The table below summarizes which kind of annotation presence * different methods in this interface examine. * - * + *
* + * * * + * + * * * @@ -127,6 +130,7 @@ * * + * *
Overview of kind of presence detected by different AnnotatedElement methods
Kind of Presence
MethodDirectly PresentIndirectly PresentPresentAssociated
{@code T}{@link #getAnnotation(Class) getAnnotation(Class<T>)} * X
{@code T[]}{@link #getDeclaredAnnotationsByType(Class) getDeclaredAnnotationsByType(Class<T>)} * XX
* *

For an invocation of {@code get[Declared]AnnotationsByType( Class <