public enum BaseType extends java.lang.Enum<BaseType> implements FieldType, JavaTypeSignature
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTerm() |
java.lang.String |
getType() |
static BaseType |
parseBaseType(java.lang.String string) |
java.lang.String |
toExternalForm() |
java.lang.String |
toInternalForm() |
java.lang.String |
toString() |
static BaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
parseFieldType
parseComponentType
parseFieldDescriptor, parseFieldDescriptor, parseFieldDescriptor, parseFieldDescriptors
parseParameterDescriptor
parseReturnDescriptor
parseJavaTypeSignature
parseResult
public static final BaseType BOOLEAN
public static final BaseType BYTE
public static final BaseType CHAR
public static final BaseType DOUBLE
public static final BaseType FLOAT
public static final BaseType INT
public static final BaseType LONG
public static final BaseType SHORT
public static BaseType[] values()
for (BaseType c : BaseType.values()) System.out.println(c);
public static BaseType 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 nullpublic java.lang.String getTerm()
getTerm
in interface ReturnDescriptor
public java.lang.String getType()
getType
in interface ReturnDescriptor
public java.lang.String toExternalForm()
toExternalForm
in interface ComponentType
toExternalForm
in interface FieldDescriptor
toExternalForm
in interface ParameterDescriptor
toExternalForm
in interface Result
toExternalForm
in interface ReturnDescriptor
public java.lang.String toInternalForm()
toInternalForm
in interface ComponentType
toInternalForm
in interface FieldDescriptor
toInternalForm
in interface ParameterDescriptor
toInternalForm
in interface Result
toInternalForm
in interface ReturnDescriptor
public java.lang.String toString()
toString
in class java.lang.Enum<BaseType>
public static BaseType parseBaseType(java.lang.String string)