public class ExceptionHandlerMap
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandlerMap(org.apache.bcel.generic.MethodGen methodGen)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.bcel.generic.CodeExceptionGen |
getHandlerForStartInstruction(org.apache.bcel.generic.InstructionHandle start)
If the given instruction is the start of an exception handler, get the
CodeExceptionGen object representing the handler.
|
java.util.List<org.apache.bcel.generic.CodeExceptionGen> |
getHandlerList(org.apache.bcel.generic.InstructionHandle handle)
Get the list of exception handlers (CodeExceptionGen objects) which are
specified to handle exceptions for the instruction whose handle is given.
|
public ExceptionHandlerMap(org.apache.bcel.generic.MethodGen methodGen)
methodGen
- the method to build the map forpublic java.util.List<org.apache.bcel.generic.CodeExceptionGen> getHandlerList(org.apache.bcel.generic.InstructionHandle handle)
handle
- the handle of the instruction we want the exception handlers
forpublic org.apache.bcel.generic.CodeExceptionGen getHandlerForStartInstruction(org.apache.bcel.generic.InstructionHandle start)
start
- the instructionFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.