public class CodeData extends Indenter
Modifier and Type | Class and Description |
---|---|
static class |
CodeData.LocVarData |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<AttrData> |
attrs
The remaining attributes of this class
|
protected ClassData |
cls |
protected byte[] |
code
Raw byte array for the byte codes
|
protected int |
max_locals
Limit for the number of local vars
|
protected int |
max_stack
Limit for the stack size
|
protected MethodData |
meth |
Constructor and Description |
---|
CodeData(MethodData meth) |
Modifier and Type | Method and Description |
---|---|
protected org.openjdk.asmtools.jdis.iAtt |
get_iAtt(int pc) |
void |
print()
print
|
void |
read(DataInputStream in,
int codeattrlen)
read
|
decreaseIndent, getIndentString, increaseIndent, indent, setIndent
protected byte[] code
protected int max_stack
protected int max_locals
protected ClassData cls
protected MethodData meth
public CodeData(MethodData meth)
protected org.openjdk.asmtools.jdis.iAtt get_iAtt(int pc)
public void read(DataInputStream in, int codeattrlen) throws IOException
read and resolve the code attribute data called from MethodData. precondition: NumFields has already been read from the stream.
IOException
public void print() throws IOException
prints the code data to the current output stream. called from MethodData.
IOException
Copyright © 2021. All Rights Reserved.