Uses of Class
org.apache.bcel.generic.CodeExceptionGen
Packages that use CodeExceptionGen
Package
Description
This package contains the "generic" part of the
Byte Code Engineering
Library, i.e., classes to dynamically modify class objects and
byte code instructions.
-
Uses of CodeExceptionGen in org.apache.bcel.generic
Methods in org.apache.bcel.generic that return CodeExceptionGenModifier and TypeMethodDescriptionMethodGen.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.MethodGen.getExceptionHandlers()
Methods in org.apache.bcel.generic with parameters of type CodeExceptionGenModifier and TypeMethodDescriptionstatic 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.