public abstract class CONSTANT_info extends Object implements Cloneable, IClassFormatOutput
| 限定符 | 构造器和说明 |
|---|---|
protected |
CONSTANT_info() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Object |
accept(ICONSTANTVisitor visitor,
Object ctx) |
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 String |
tagToString(CONSTANT_info constant) |
abstract 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 Object accept(ICONSTANTVisitor visitor, Object ctx)
public int width()
CONSTANT_Long_info,
CONSTANT_Long_infopublic static CONSTANT_info new_CONSTANT_info(UDataInputStream bytes) throws IOException
IOExceptionpublic Object clone()
public void writeInClassFormat(UDataOutputStream out) throws IOException
writeInClassFormat 在接口中 IClassFormatOutputIOExceptionpublic static String tagToString(CONSTANT_info constant)
Copyright © 2018. All rights reserved.