Package com.strobel.assembler.metadata
Enum Class JvmType
- All Implemented Interfaces:
Serializable
,Comparable<JvmType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
bitWidth()
static JvmType
static JvmType
final String
final String
final boolean
final boolean
final boolean
final boolean
final boolean
isOther()
final boolean
final boolean
final boolean
isSigned()
final boolean
final boolean
final boolean
final int
static JvmType
Returns the enum constant of this class with the specified name.static JvmType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Boolean
-
Byte
-
Character
-
Short
-
Integer
-
Long
-
Float
-
Double
-
Object
-
Array
-
TypeVariable
-
Wildcard
-
Void
-
-
Field Details
-
CLASSES_TO_JVM_TYPES
-
-
Constructor Details
-
JvmType
private JvmType()
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
getDescriptorPrefix
-
getPrimitiveName
-
isPrimitive
public final boolean isPrimitive() -
isPrimitiveOrVoid
public final boolean isPrimitiveOrVoid() -
bitWidth
public final int bitWidth() -
stackSlots
public final int stackSlots() -
isSingleWord
public final boolean isSingleWord() -
isDoubleWord
public final boolean isDoubleWord() -
isNumeric
public final boolean isNumeric() -
isIntegral
public final boolean isIntegral() -
isSubWordOrInt32
public final boolean isSubWordOrInt32() -
isSigned
public final boolean isSigned() -
isUnsigned
public final boolean isUnsigned() -
isFloating
public final boolean isFloating() -
isOther
public final boolean isOther() -
forClass
-
forValue
-