src/share/classes/javax/lang/model/util/Elements.java

Print this page

        

@@ -141,16 +141,17 @@
      * @see Element#getEnclosedElements
      */
     List<? extends Element> getAllMembers(TypeElement type);
 
     /**
-     * Returns all annotations of an element, whether
-     * inherited or directly present.
+     * Returns all annotations <i>present</i> on an element, whether
+     * directly present or present via inheritance.
      *
      * @param e  the element being examined
      * @return all annotations of the element
      * @see Element#getAnnotationMirrors
+     * @see javax.lang.model.AnnotatedConstruct 
      */
     List<? extends AnnotationMirror> getAllAnnotationMirrors(Element e);
 
     /**
      * Tests whether one type, method, or field hides another.