API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.lang.model.type. TypeKind View Source
Author(s)
Joseph D. Darcy
Scott Seligman
Peter von der Ahé
Since
1.6
Version
1.5 06/07/11
Serial
Hierarchy
 Object
      Enum
          TypeKind
Implements
Subclasses
Description
publicfinal enum TypeKind
  The kind of a type mirror.
See also:    TypeMirror
Enum Constants
BOOLEAN
The primitive type boolean.
BYTE
The primitive type byte.
SHORT
The primitive type short.
INT
The primitive type int.
LONG
The primitive type long.
CHAR
The primitive type char.
FLOAT
The primitive type float.
DOUBLE
The primitive type double.
VOID
  The pseudo-type corresponding to the keyword void.
NONE
  A pseudo-type used where no actual type is appropriate.
NULL
The null type.
ARRAY
An array type.
DECLARED
A class or interface type.
ERROR
A class or interface type that could not be resolved.
TYPEVAR
A type variable.
WILDCARD
A wildcard type argument.
PACKAGE
  A pseudo-type corresponding to a package element.
EXECUTABLE
A method, constructor, or initializer.
OTHER
  An implementation-reserved type.
Methods
Hide/Show inherited methods
protectedfinal Object clone () throws CloneNotSupportedException [Inherited From Enum]
  Throws CloneNotSupportedException.
publicfinal int compareTo ( E o) [Inherited From Enum]
  Compares this enum with the specified object for order.
publicfinal boolean equals (Object other) [Inherited From Enum]
  Returns true if the specified object is equal to this enum constant.
protectedfinal void finalize () [Inherited From Enum]
enum classes cannot have finalize methods.
publicfinal Class< E> getDeclaringClass () [Inherited From Enum]
  Returns the Class object corresponding to this enum constant's enum type.
publicfinal int hashCode () [Inherited From Enum]
  Returns a hash code for this enum constant.
public boolean isPrimitive ()
  Returns true if this kind corresponds to a primitive type and false otherwise.
publicfinal String name () [Inherited From Enum]
  Returns the name of this enum constant, exactly as declared in its enum declaration.
publicfinal int ordinal () [Inherited From Enum]
  Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
public String toString () [Inherited From Enum]
  Returns the name of this enum constant, as contained in the declaration.
publicstatic T valueOf (Class< T> enumType, String name) [Inherited From Enum]
  Returns the enum constant of the specified enum type with the specified name.
publicstatic TypeKind valueOf (String name)
publicfinalstatic TypeKind values ()
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar