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

Print this page

        

*** 141,156 **** * @see Element#getEnclosedElements */ List<? extends Element> getAllMembers(TypeElement type); /** ! * Returns all annotations of an element, whether ! * inherited or directly present. * * @param e the element being examined * @return all annotations of the element * @see Element#getAnnotationMirrors */ List<? extends AnnotationMirror> getAllAnnotationMirrors(Element e); /** * Tests whether one type, method, or field hides another. --- 141,157 ---- * @see Element#getEnclosedElements */ List<? extends Element> getAllMembers(TypeElement type); /** ! * 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.