src/share/classes/javax/lang/model/element/TypeElement.java

changeset 411
789ee1acf107
parent 224
dab918a1c907
child 554
9d9f26857129
equal deleted inserted replaced
410:5dd400fd62d9 411:789ee1acf107
58 * @author Peter von der Ahé 58 * @author Peter von der Ahé
59 * @see DeclaredType 59 * @see DeclaredType
60 * @since 1.6 60 * @since 1.6
61 */ 61 */
62 public interface TypeElement extends Element, Parameterizable, QualifiedNameable { 62 public interface TypeElement extends Element, Parameterizable, QualifiedNameable {
63 /**
64 * {@inheritDoc}
65 *
66 * <p> Note that as a particular instance of the {@linkplain
67 * javax.lang.model.element general accuracy requirements} and the
68 * ordering behavior required of this interface, the list of
69 * enclosed elements will be returned in the natural order for the
70 * originating source of information about the type. For example,
71 * if the information about the type is originating from a source
72 * file, the elements will be returned in source code order.
73 * (However, in that case the the ordering of synthesized
74 * elements, such as a default constructor, is not specified.)
75 *
76 * @return the enclosed elements in proper order, or an empty list if none
77 */
78 List<? extends Element> getEnclosedElements();
63 79
64 /** 80 /**
65 * Returns the <i>nesting kind</i> of this type element. 81 * Returns the <i>nesting kind</i> of this type element.
66 * 82 *
67 * @return the nesting kind of this type element 83 * @return the nesting kind of this type element

mercurial