public enum ConstPoolEntryType extends Enum<ConstPoolEntryType>
Enum Constant and Description |
---|
CLASS |
DOUBLE |
FIELDREF |
FLOAT |
INTEGER |
INTERFACE_METHODREF |
LONG |
METHODREF |
NAME_AND_TYPE |
STRING |
UTF8 |
Modifier and Type | Method and Description |
---|---|
int |
getSlots()
The number of spaces this takes up in the const pool
|
int |
getTag() |
static ConstPoolEntryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstPoolEntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstPoolEntryType CLASS
public static final ConstPoolEntryType FIELDREF
public static final ConstPoolEntryType METHODREF
public static final ConstPoolEntryType INTERFACE_METHODREF
public static final ConstPoolEntryType STRING
public static final ConstPoolEntryType INTEGER
public static final ConstPoolEntryType FLOAT
public static final ConstPoolEntryType LONG
public static final ConstPoolEntryType DOUBLE
public static final ConstPoolEntryType NAME_AND_TYPE
public static final ConstPoolEntryType UTF8
public static ConstPoolEntryType[] values()
for (ConstPoolEntryType c : ConstPoolEntryType.values()) System.out.println(c);
public static ConstPoolEntryType 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 nullpublic int getTag()
public int getSlots()
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.