public class ExceptionHandlerMap
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandlerMap(org.apache.bcel.generic.MethodGen methodGen,
TypeMerger merger)
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.
|
static org.apache.bcel.generic.CodeExceptionGen |
merge(TypeMerger m,
org.apache.bcel.generic.CodeExceptionGen e1,
org.apache.bcel.generic.CodeExceptionGen e2) |
public ExceptionHandlerMap(org.apache.bcel.generic.MethodGen methodGen, TypeMerger merger)
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 instructionpublic static org.apache.bcel.generic.CodeExceptionGen merge(@CheckForNull TypeMerger m, org.apache.bcel.generic.CodeExceptionGen e1, org.apache.bcel.generic.CodeExceptionGen e2)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.