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 | Method | Description |
---|---|---|
ExceptionTable |
ExceptionTable.copy(ConstPool newCp,
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 | 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.
|
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.
|
Constructor | Description |
---|---|
CodeAttribute(ConstPool cp,
int stack,
int locals,
byte[] code,
ExceptionTable etable) |
Constructs a
Code_attribute . |
Modifier and Type | Method | Description |
---|---|---|
BasicBlock[] |
BasicBlock.Maker.make(CodeIterator ci,
int begin,
int end,
ExceptionTable et) |
Constructor | Description |
---|---|
Handler(ExceptionTable et,
int nth,
CodeIterator it,
CtClass declaring,
MethodInfo m) |
Undocumented constructor.
|
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.