Uses of Class
org.apache.bcel.generic.CodeExceptionGen
Packages that use CodeExceptionGen
Package
Description
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
-
Uses of CodeExceptionGen in org.apache.bcel.generic
Fields in org.apache.bcel.generic declared as CodeExceptionGenModifier and TypeFieldDescription(package private) static final CodeExceptionGen[]CodeExceptionGen.EMPTY_ARRAYFields in org.apache.bcel.generic with type parameters of type CodeExceptionGenMethods in org.apache.bcel.generic that return CodeExceptionGenModifier and TypeMethodDescriptionMethodGen.addExceptionHandler(InstructionHandle startPc, InstructionHandle endPc, InstructionHandle handlerPc, ObjectType catchType) Add an exception handler, that is, specify region where a handler is active and an instruction where the actual handling is done.MethodGen.getExceptionHandlers()Gets array of declared exception handlers.Methods in org.apache.bcel.generic with parameters of type CodeExceptionGenModifier and TypeMethodDescriptionstatic intMethodGen.getMaxStack(ConstantPoolGen cp, InstructionList il, CodeExceptionGen[] et) Computes stack usage of an instruction list by performing control flow analysis.voidInstructionList.redirectExceptionHandlers(CodeExceptionGen[] exceptions, InstructionHandle oldTarget, InstructionHandle newTarget) Redirect all references of exception handlers from oldTarget to newTarget.voidMethodGen.removeExceptionHandler(CodeExceptionGen c) Remove an exception handler.