Package | Description |
---|---|
javassist.bytecode |
Bytecode-level API.
|
Modifier and Type | Method | 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 | 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 . |
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.