org.jetbrains.jet.lang.resolve.java
Enum JvmPrimitiveType

java.lang.Object
  extended by java.lang.Enum<JvmPrimitiveType>
      extended by org.jetbrains.jet.lang.resolve.java.JvmPrimitiveType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JvmPrimitiveType>

public enum JvmPrimitiveType
extends java.lang.Enum<JvmPrimitiveType>


Enum Constant Summary
BOOLEAN
           
BYTE
           
CHAR
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
SHORT
           
 
Method Summary
 org.jetbrains.asm4.Type getAsmArrayType()
           
 org.jetbrains.asm4.Type getAsmType()
           
static JvmPrimitiveType getByAsmType(org.jetbrains.asm4.Type type)
           
static JvmPrimitiveType getByWrapperAsmType(org.jetbrains.asm4.Type type)
           
static JvmPrimitiveType getByWrapperClass(JvmClassName className)
           
 JvmClassName getIterator()
           
 char getJvmLetter()
           
 java.lang.String getName()
           
 PrimitiveType getPrimitiveType()
           
 JvmClassName getWrapper()
           
static JvmPrimitiveType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JvmPrimitiveType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOOLEAN

public static final JvmPrimitiveType BOOLEAN

CHAR

public static final JvmPrimitiveType CHAR

BYTE

public static final JvmPrimitiveType BYTE

SHORT

public static final JvmPrimitiveType SHORT

INT

public static final JvmPrimitiveType INT

FLOAT

public static final JvmPrimitiveType FLOAT

LONG

public static final JvmPrimitiveType LONG

DOUBLE

public static final JvmPrimitiveType DOUBLE
Method Detail

values

public static JvmPrimitiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JvmPrimitiveType c : JvmPrimitiveType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JvmPrimitiveType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPrimitiveType

public PrimitiveType getPrimitiveType()

getName

public java.lang.String getName()

getWrapper

public JvmClassName getWrapper()

getAsmType

public org.jetbrains.asm4.Type getAsmType()

getAsmArrayType

public org.jetbrains.asm4.Type getAsmArrayType()

getIterator

public JvmClassName getIterator()

getJvmLetter

public char getJvmLetter()

getByAsmType

@Nullable
public static JvmPrimitiveType getByAsmType(org.jetbrains.asm4.Type type)

getByWrapperAsmType

@Nullable
public static JvmPrimitiveType getByWrapperAsmType(org.jetbrains.asm4.Type type)

getByWrapperClass

@Nullable
public static JvmPrimitiveType getByWrapperClass(JvmClassName className)