langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java
changeset 43280 692b0dfbb390
parent 25874 83c19f00452c
child 43567 d0d89c3da7be
equal deleted inserted replaced
43279:9afb33b0a3ab 43280:692b0dfbb390
    33  * Represents a class or interface program element.  Provides access
    33  * Represents a class or interface program element.  Provides access
    34  * to information about the type and its members.  Note that an enum
    34  * to information about the type and its members.  Note that an enum
    35  * type is a kind of class and an annotation type is a kind of
    35  * type is a kind of class and an annotation type is a kind of
    36  * interface.
    36  * interface.
    37  *
    37  *
    38  * <p> <a name="ELEM_VS_TYPE"></a>
    38  * <p> While a {@code TypeElement} represents a class or interface
    39  * While a {@code TypeElement} represents a class or interface
       
    40  * <i>element</i>, a {@link DeclaredType} represents a class
    39  * <i>element</i>, a {@link DeclaredType} represents a class
    41  * or interface <i>type</i>, the latter being a use
    40  * or interface <i>type</i>, the latter being a use
    42  * (or <i>invocation</i>) of the former.
    41  * (or <i>invocation</i>) of the former.
    43  * The distinction is most apparent with generic types,
    42  * The distinction is most apparent with generic types,
    44  * for which a single element can define a whole
    43  * for which a single element can define a whole