Package com.aparapi.internal.model
Enum ClassModel.ConstantPoolType
- java.lang.Object
-
- java.lang.Enum<ClassModel.ConstantPoolType>
-
- com.aparapi.internal.model.ClassModel.ConstantPoolType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClassModel.ConstantPoolType>
- Enclosing class:
- ClassModel
public static enum ClassModel.ConstantPoolType extends java.lang.Enum<ClassModel.ConstantPoolType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS
DOUBLE
EMPTY
FIELD
FLOAT
INTEGER
INTERFACEMETHOD
INVOKEDYNAMIC
LONG
METHOD
METHODHANDLE
METHODTYPE
NAMEANDTYPE
STRING
UNICODE
UNUSED13
UNUSED14
UNUSED17
UTF8
-
Constructor Summary
Constructors Modifier Constructor Description private
ConstantPoolType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassModel.ConstantPoolType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClassModel.ConstantPoolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final ClassModel.ConstantPoolType EMPTY
-
UTF8
public static final ClassModel.ConstantPoolType UTF8
-
UNICODE
public static final ClassModel.ConstantPoolType UNICODE
-
INTEGER
public static final ClassModel.ConstantPoolType INTEGER
-
FLOAT
public static final ClassModel.ConstantPoolType FLOAT
-
LONG
public static final ClassModel.ConstantPoolType LONG
-
DOUBLE
public static final ClassModel.ConstantPoolType DOUBLE
-
CLASS
public static final ClassModel.ConstantPoolType CLASS
-
STRING
public static final ClassModel.ConstantPoolType STRING
-
FIELD
public static final ClassModel.ConstantPoolType FIELD
-
METHOD
public static final ClassModel.ConstantPoolType METHOD
-
INTERFACEMETHOD
public static final ClassModel.ConstantPoolType INTERFACEMETHOD
-
NAMEANDTYPE
public static final ClassModel.ConstantPoolType NAMEANDTYPE
-
UNUSED13
public static final ClassModel.ConstantPoolType UNUSED13
-
UNUSED14
public static final ClassModel.ConstantPoolType UNUSED14
-
METHODHANDLE
public static final ClassModel.ConstantPoolType METHODHANDLE
-
METHODTYPE
public static final ClassModel.ConstantPoolType METHODTYPE
-
UNUSED17
public static final ClassModel.ConstantPoolType UNUSED17
-
INVOKEDYNAMIC
public static final ClassModel.ConstantPoolType INVOKEDYNAMIC
-
-
Method Detail
-
values
public static ClassModel.ConstantPoolType[] 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 (ClassModel.ConstantPoolType c : ClassModel.ConstantPoolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassModel.ConstantPoolType 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 namejava.lang.NullPointerException
- if the argument is null
-
-