< prev index next >
src/java.compiler/share/classes/javax/lang/model/util/Elements.java
Print this page
*** 512,521 ****
--- 512,524 ----
/**
* Returns all annotations <i>present</i> on an element, whether
* directly present or present via inheritance.
*
+ * <p>Note that any annotations returned by this method are
+ * declaration annotations.
+ *
* @param e the element being examined
* @return all annotations of the element
* @see Element#getAnnotationMirrors
* @see javax.lang.model.AnnotatedConstruct
*/
< prev index next >