While a {@code TypeElement} represents a class or interfaceelement, a {@link DeclaredType} represents a classor interface type, the latter being a use (or invocation) of the former. The distinction is most apparent with generic types, for which a single element can define a whole family of types. For example, the element {@code java.util.Set} corresponds to the parameterized types{@code java.util.Set Each method of this interface that returns a list of elements will return them in the order that is natural for the underlying source of program information. For example, if the underlying source of information is Java source code, then the elements will be returned in source code order.
@author Joseph D. Darcy
@author Scott Seligman
@author Peter von der Ahé
@see DeclaredType
@since 1.6
|
|