| Package | Description |
|---|---|
| jdk7u.jaxp.org.apache.bcel.external.generic |
This package contains the "generic" part of the
Byte Code Engineering
Library, i.e., classes to dynamically modify class objects and
byte code instructions.
|
| Modifier and Type | Method and Description |
|---|---|
CodeExceptionGen |
MethodGen.addExceptionHandler(InstructionHandle start_pc,
InstructionHandle end_pc,
InstructionHandle handler_pc,
ObjectType catch_type)
Add an exception handler, i.e., specify region where a handler is active and an
instruction where the actual handling is done.
|
CodeExceptionGen[] |
MethodGen.getExceptionHandlers() |
| Modifier and Type | Method and Description |
|---|---|
static int |
MethodGen.getMaxStack(ConstantPoolGen cp,
InstructionList il,
CodeExceptionGen[] et)
Computes stack usage of an instruction list by performing control flow analysis.
|
void |
InstructionList.redirectExceptionHandlers(CodeExceptionGen[] exceptions,
InstructionHandle old_target,
InstructionHandle new_target)
Redirect all references of exception handlers from old_target to new_target.
|
void |
MethodGen.removeExceptionHandler(CodeExceptionGen c)
Remove an exception handler.
|
Copyright © 2018–2021 mhoffrogge. All rights reserved.