langtools/src/share/classes/com/sun/mirror/type/PrimitiveType.java
changeset 3378 22011d9a9398
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
equal deleted inserted replaced
3377:22083952ee8f 3378:22011d9a9398
    29 /**
    29 /**
    30  * Represents a primitive type.  These include
    30  * Represents a primitive type.  These include
    31  * <tt>boolean</tt>, <tt>byte</tt>, <tt>short</tt>, <tt>int</tt>,
    31  * <tt>boolean</tt>, <tt>byte</tt>, <tt>short</tt>, <tt>int</tt>,
    32  * <tt>long</tt>, <tt>char</tt>, <tt>float</tt>, and <tt>double</tt>.
    32  * <tt>long</tt>, <tt>char</tt>, <tt>float</tt>, and <tt>double</tt>.
    33  *
    33  *
       
    34  * @deprecated All components of this API have been superseded by the
       
    35  * standardized annotation processing API.  The replacement for the
       
    36  * functionality of this interface is {@link
       
    37  * javax.lang.model.type.PrimitiveType}.
       
    38  *
    34  * @author Joseph D. Darcy
    39  * @author Joseph D. Darcy
    35  * @author Scott Seligman
    40  * @author Scott Seligman
    36  * @since 1.5
    41  * @since 1.5
    37  */
    42  */
    38 
    43 @Deprecated
       
    44 @SuppressWarnings("deprecation")
    39 public interface PrimitiveType extends TypeMirror {
    45 public interface PrimitiveType extends TypeMirror {
    40 
    46 
    41     /**
    47     /**
    42      * Returns the kind of primitive type that this object represents.
    48      * Returns the kind of primitive type that this object represents.
    43      *
    49      *
    45      */
    51      */
    46     Kind getKind();
    52     Kind getKind();
    47 
    53 
    48     /**
    54     /**
    49      * An enumeration of the different kinds of primitive types.
    55      * An enumeration of the different kinds of primitive types.
       
    56      *
       
    57      * @deprecated All components of this API have been superseded by
       
    58      * the standardized annotation processing API.  The replacement
       
    59      * for the functionality of this enum is {@link
       
    60      * javax.lang.model.type.TypeKind}.
    50      */
    61      */
       
    62     @Deprecated
    51     enum Kind {
    63     enum Kind {
    52         /** The primitive type <tt>boolean</tt> */      BOOLEAN,
    64         /** The primitive type <tt>boolean</tt> */      BOOLEAN,
    53         /** The primitive type <tt>byte</tt> */         BYTE,
    65         /** The primitive type <tt>byte</tt> */         BYTE,
    54         /** The primitive type <tt>short</tt> */        SHORT,
    66         /** The primitive type <tt>short</tt> */        SHORT,
    55         /** The primitive type <tt>int</tt> */          INT,
    67         /** The primitive type <tt>int</tt> */          INT,