public class Code
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
CodeInputStream |
getByteCode()
Get the stream of Java Byte code instruction of this method.
|
int |
getCodeSize()
Get the last position of the code.
|
ConstantPool |
getConstantPool()
Get the constant pool of this code.
|
TryCatchFinally[] |
getExceptionTable()
Get exception table of this code block.
|
int |
getFirstLineNr() |
LineNumberTable |
getLineNumberTable()
Get the line number table.
|
LocalVariableTable |
getLocalVariableTable()
Get the local variable table of this method.
|
@Nonnull public ConstantPool getConstantPool()
@Nonnull public TryCatchFinally[] getExceptionTable()
@Nullable public LineNumberTable getLineNumberTable() throws java.io.IOException
java.io.IOException
- if any I/O error occur@Nullable public LocalVariableTable getLocalVariableTable() throws java.io.IOException
java.io.IOException
- if any I/O error occurpublic int getFirstLineNr() throws java.io.IOException
java.io.IOException
public CodeInputStream getByteCode()
public int getCodeSize()