Package | Description |
---|---|
javassist.bytecode |
Bytecode-level API.
|
javassist.bytecode.stackmap | |
javassist.expr |
This package contains the classes for modifying a method body.
|
Modifier and Type | Field and Description |
---|---|
(package private) ExceptionTable |
CodeIterator.Pointers.etable |
private ExceptionTable |
CodeAttribute.exceptions |
(package private) ExceptionTable |
Bytecode.tryblocks |
Modifier and Type | Method and Description |
---|---|
ExceptionTable |
ExceptionTable.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy of this
exception_table[] . |
ExceptionTable |
Bytecode.getExceptionTable()
Returns
exception_table . |
ExceptionTable |
CodeAttribute.getExceptionTable()
Returns
exception_table[] . |
Modifier and Type | Method and Description |
---|---|
void |
ExceptionTable.add(int index,
ExceptionTable table,
int offset)
Copies the given exception table at the specified position
in the table.
|
void |
CodeIterator.append(ExceptionTable et,
int offset)
Copies and appends the entries in the given exception table
at the end of the exception table in the code attribute
edited by this object.
|
(package private) static byte[] |
CodeIterator.changeLdcToLdcW(byte[] code,
ExceptionTable etable,
CodeAttribute ca,
CodeAttribute.LdcEntry ldcs) |
private byte[] |
CodeAttribute.copyCode(ConstPool destCp,
java.util.Map classnames,
ExceptionTable etable,
CodeAttribute destCa)
Copies code.
|
(package private) static byte[] |
CodeAttribute.LdcEntry.doit(byte[] code,
CodeAttribute.LdcEntry ldc,
ExceptionTable etable,
CodeAttribute ca) |
void |
CodeIterator.insert(ExceptionTable et,
int offset)
Copies and inserts the entries in the given exception table
at the beginning of the exception table in the code attribute
edited by this object.
|
(package private) static byte[] |
CodeIterator.insertGapCore0(byte[] code,
int where,
int gapLength,
boolean exclusive,
ExceptionTable etable,
CodeAttribute ca)
insertGapCore0() inserts a gap (some NOPs).
|
private byte[] |
CodeIterator.insertGapCore0w(byte[] code,
int where,
int gapLength,
boolean exclusive,
ExceptionTable etable,
CodeAttribute ca,
CodeIterator.Gap newWhere) |
private static byte[] |
CodeIterator.insertGapCore1(byte[] code,
int where,
int gapLength,
boolean exclusive,
ExceptionTable etable,
CodeAttribute ca) |
Constructor and Description |
---|
CodeAttribute(ConstPool cp,
int stack,
int locals,
byte[] code,
ExceptionTable etable)
Constructs a
Code_attribute . |
Pointers(int cur,
int m,
int m0,
ExceptionTable et,
CodeAttribute ca) |
Modifier and Type | Method and Description |
---|---|
private void |
BasicBlock.Maker.addCatchers(BasicBlock[] blocks,
ExceptionTable et) |
BasicBlock[] |
BasicBlock.Maker.make(CodeIterator ci,
int begin,
int end,
ExceptionTable et) |
private java.util.HashMap |
BasicBlock.Maker.makeMarks(CodeIterator ci,
int begin,
int end,
ExceptionTable et) |
Modifier and Type | Field and Description |
---|---|
private ExceptionTable |
Handler.etable |
Constructor and Description |
---|
Handler(ExceptionTable et,
int nth,
CodeIterator it,
CtClass declaring,
MethodInfo m)
Undocumented constructor.
|