public enum PrimitiveType extends java.lang.Enum<PrimitiveType>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableSet<PrimitiveType> |
NUMBER_TYPES |
| Modifier and Type | Method and Description |
|---|---|
FqName |
getArrayClassName() |
Name |
getArrayTypeName() |
FqName |
getClassName() |
FqName |
getProgressionClassName() |
FqName |
getRangeClassName() |
Name |
getRangeTypeName() |
Name |
getTypeName() |
static PrimitiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType BOOLEAN
public static final PrimitiveType CHAR
public static final PrimitiveType BYTE
public static final PrimitiveType SHORT
public static final PrimitiveType INT
public static final PrimitiveType FLOAT
public static final PrimitiveType LONG
public static final PrimitiveType DOUBLE
public static final com.google.common.collect.ImmutableSet<PrimitiveType> NUMBER_TYPES
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null@NotNull public Name getTypeName()
@NotNull public Name getArrayTypeName()
@NotNull public Name getRangeTypeName()
@NotNull public FqName getClassName()
@NotNull public FqName getArrayClassName()
@NotNull public FqName getRangeClassName()
@NotNull public FqName getProgressionClassName()