A colleague reports:
I noticed that "Repeating Annotations"
http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html
links to a nonexistent AnnotatedElement.getAnnotations(Class<T>) method; I think it should be AnnotatedElement.getAnnotationsByType(Class<T>), but I'm not certain. The whole "Retrieving Annotations" could be clearer, but just fixing the method name would be helpful :)
(More generally, it should not be possible for java documentation to contain dead links to javadoc)
I noticed that "Repeating Annotations"
http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html
links to a nonexistent AnnotatedElement.getAnnotations(Class<T>) method; I think it should be AnnotatedElement.getAnnotationsByType(Class<T>), but I'm not certain. The whole "Retrieving Annotations" could be clearer, but just fixing the method name would be helpful :)
(More generally, it should not be possible for java documentation to contain dead links to javadoc)