public abstract class Constant extends SimpleProcessable
Modifier and Type | Field and Description |
---|---|
static int |
CLASS |
static int |
DOUBLE |
static int |
DYNAMIC |
static int |
FIELDREF |
static int |
FLOAT |
static int |
INTEGER |
static int |
INTERFACE_METHODREF |
static int |
INVOKE_DYNAMIC |
static int |
LONG |
static int |
METHOD_HANDLE |
static int |
METHOD_TYPE |
static int |
METHODREF |
static int |
MODULE |
static int |
NAME_AND_TYPE |
static int |
PACKAGE |
static int |
PRIMITIVE_ARRAY |
static int |
STRING |
static int |
UTF8 |
processingFlags, processingInfo
Constructor and Description |
---|
Constant() |
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(Clazz clazz,
ConstantVisitor constantVisitor)
Accepts the given visitor.
|
abstract int |
getTag()
Returns the constant pool info tag that specifies the entry type.
|
abstract boolean |
isCategory2()
Returns whether the constant is of category 2.
|
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public static final int UTF8
public static final int INTEGER
public static final int FLOAT
public static final int LONG
public static final int DOUBLE
public static final int CLASS
public static final int STRING
public static final int FIELDREF
public static final int METHODREF
public static final int INTERFACE_METHODREF
public static final int NAME_AND_TYPE
public static final int METHOD_HANDLE
public static final int METHOD_TYPE
public static final int DYNAMIC
public static final int INVOKE_DYNAMIC
public static final int MODULE
public static final int PACKAGE
public static final int PRIMITIVE_ARRAY
public abstract int getTag()
public abstract boolean isCategory2()
public abstract void accept(Clazz clazz, ConstantVisitor constantVisitor)