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

changeset 1777
3bd22f99d408
parent 1725
e8987ce7fb4b
child 2525
2eb010b6cb22
equal deleted inserted replaced
1776:31344e8e3343 1777:3bd22f99d408
141 * @see Element#getEnclosedElements 141 * @see Element#getEnclosedElements
142 */ 142 */
143 List<? extends Element> getAllMembers(TypeElement type); 143 List<? extends Element> getAllMembers(TypeElement type);
144 144
145 /** 145 /**
146 * Returns all annotations of an element, whether 146 * Returns all annotations <i>present</i> on an element, whether
147 * inherited or directly present. 147 * directly present or present via inheritance.
148 * 148 *
149 * @param e the element being examined 149 * @param e the element being examined
150 * @return all annotations of the element 150 * @return all annotations of the element
151 * @see Element#getAnnotationMirrors 151 * @see Element#getAnnotationMirrors
152 * @see javax.lang.model.AnnotatedConstruct
152 */ 153 */
153 List<? extends AnnotationMirror> getAllAnnotationMirrors(Element e); 154 List<? extends AnnotationMirror> getAllAnnotationMirrors(Element e);
154 155
155 /** 156 /**
156 * Tests whether one type, method, or field hides another. 157 * Tests whether one type, method, or field hides another.

mercurial