Package de.uzl.its.swat.instrument
Enum Class DataType
- All Implemented Interfaces:
- Serializable,- Comparable<DataType>,- Constable
Represents the different data types that can be encountered in method descriptors.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptionstatic DataTypegetDataType(String identifier) Determines the DataType corresponding to a given identifier.Returns the identifier for this DataType.static DataTypeReturns the enum constant of this class with the specified name.static DataType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
INTEGER_TYPE
- 
BOOLEAN_TYPE
- 
CHAR_TYPE
- 
BYTE_TYPE
- 
SHORT_TYPE
- 
FLOAT_TYPE
- 
LONG_TYPE
- 
DOUBLE_TYPE
- 
VOID_TYPE
- 
OBJECT_TYPE
- 
ARRAY_TYPE
- 
METHOD_TYPE
- 
UNKNOWN_TYPE
- 
STRING_TYPE
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getIdentifierReturns the identifier for this DataType.- Returns:
- the identifier
 
- 
getDataTypeDetermines the DataType corresponding to a given identifier.- Parameters:
- identifier- the identifier to look up
- Returns:
- the corresponding DataType, or UNKNOWN_TYPE if not found
 
 
-