public abstract class CONSTANT_info extends java.lang.Object implements java.lang.Cloneable, IClassFormatOutput
Modifier | Constructor and Description |
---|---|
protected |
CONSTANT_info() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
accept(ICONSTANTVisitor visitor,
java.lang.Object ctx) |
java.lang.Object |
clone()
Chains to super.clone() and removes CloneNotSupportedException
from the method signature.
|
static CONSTANT_info |
new_CONSTANT_info(UDataInputStream bytes)
Virtual constructor method for all CONSTANT_XXX_info structures.
|
abstract byte |
tag()
Returns the tag byte for this CONSTANT type [this data is
static class data].
|
static java.lang.String |
tagToString(CONSTANT_info constant) |
abstract java.lang.String |
toString() |
int |
width()
Returns the number of constant pool index slots occupied by this
CONSTANT type.
|
void |
writeInClassFormat(UDataOutputStream out) |
public abstract byte tag()
public abstract java.lang.Object accept(ICONSTANTVisitor visitor, java.lang.Object ctx)
public abstract java.lang.String toString()
toString
in class java.lang.Object
public int width()
CONSTANT_Long_info
,
CONSTANT_Long_info
public static CONSTANT_info new_CONSTANT_info(UDataInputStream bytes) throws java.io.IOException
java.io.IOException
public java.lang.Object clone()
clone
in class java.lang.Object
public void writeInClassFormat(UDataOutputStream out) throws java.io.IOException
writeInClassFormat
in interface IClassFormatOutput
java.io.IOException
public static java.lang.String tagToString(CONSTANT_info constant)