private static enum HotSpotConstantPool.JVM_CONSTANT extends Enum<HotSpotConstantPool.JVM_CONSTANT>
JVM_CONSTANT
constants used in the VM. This includes the public and
internal ones.Modifier and Type | Class and Description |
---|---|
(package private) static class |
HotSpotConstantPool.JVM_CONSTANT.TagValueMap
Maps JVM_CONSTANT tags to
HotSpotConstantPool.JVM_CONSTANT values. |
Enum Constant and Description |
---|
Class |
Double |
Fieldref |
Float |
Integer |
InterfaceMethodref |
InvokeDynamic |
Long |
MethodHandle |
MethodHandleInError |
MethodRef |
MethodType |
MethodTypeInError |
NameAndType |
String |
UnresolvedClass |
UnresolvedClassInError |
Utf8 |
Modifier and Type | Field and Description |
---|---|
private static int |
ExternalMax |
private static int |
InternalMax |
private static int |
InternalMin |
private int |
tag |
Modifier and Type | Method and Description |
---|---|
private static HotSpotVMConfig |
config() |
static HotSpotConstantPool.JVM_CONSTANT |
getEnum(int tag) |
static HotSpotConstantPool.JVM_CONSTANT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HotSpotConstantPool.JVM_CONSTANT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HotSpotConstantPool.JVM_CONSTANT Utf8
public static final HotSpotConstantPool.JVM_CONSTANT Integer
public static final HotSpotConstantPool.JVM_CONSTANT Long
public static final HotSpotConstantPool.JVM_CONSTANT Float
public static final HotSpotConstantPool.JVM_CONSTANT Double
public static final HotSpotConstantPool.JVM_CONSTANT Class
public static final HotSpotConstantPool.JVM_CONSTANT UnresolvedClass
public static final HotSpotConstantPool.JVM_CONSTANT UnresolvedClassInError
public static final HotSpotConstantPool.JVM_CONSTANT String
public static final HotSpotConstantPool.JVM_CONSTANT Fieldref
public static final HotSpotConstantPool.JVM_CONSTANT MethodRef
public static final HotSpotConstantPool.JVM_CONSTANT InterfaceMethodref
public static final HotSpotConstantPool.JVM_CONSTANT NameAndType
public static final HotSpotConstantPool.JVM_CONSTANT MethodHandle
public static final HotSpotConstantPool.JVM_CONSTANT MethodHandleInError
public static final HotSpotConstantPool.JVM_CONSTANT MethodType
public static final HotSpotConstantPool.JVM_CONSTANT MethodTypeInError
public static final HotSpotConstantPool.JVM_CONSTANT InvokeDynamic
private final int tag
private static final int ExternalMax
private static final int InternalMin
private static final int InternalMax
public static HotSpotConstantPool.JVM_CONSTANT[] values()
for (HotSpotConstantPool.JVM_CONSTANT c : HotSpotConstantPool.JVM_CONSTANT.values()) System.out.println(c);
public static HotSpotConstantPool.JVM_CONSTANT valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprivate static HotSpotVMConfig config()
public static HotSpotConstantPool.JVM_CONSTANT getEnum(int tag)