edu.umd.cs.findbugs.ba
public class ExceptionHandlerMap extends Object
Constructor Summary | |
---|---|
ExceptionHandlerMap(MethodGen methodGen)
Constructor.
|
Method Summary | |
---|---|
CodeExceptionGen | getHandlerForStartInstruction(InstructionHandle start)
If the given instruction is the start of an exception handler,
get the CodeExceptionGen object representing the handler.
|
List<CodeExceptionGen> | getHandlerList(InstructionHandle handle)
Get the list of exception handlers (CodeExceptionGen objects)
which are specified to handle exceptions for the instruction whose
handle is given. |
Parameters: methodGen the method to build the map for
Parameters: start the instruction
Returns: the CodeExceptionGen object, or null if the instruction is not the start of an exception handler
Parameters: handle the handle of the instruction we want the exception handlers for
Returns: the list of exception handlers, or null if there are no handlers registered for the instruction