BACKEDGE_SOURCE_EDGE, BACKEDGE_TARGET_EDGE, CHECKED_EXCEPTIONS_FLAG, EXIT_EDGE, EXPLICIT_EXCEPTIONS_FLAG, FALL_THROUGH_EDGE, GOTO_EDGE, HANDLED_EXCEPTION_EDGE, IFCMP_EDGE, JSR_EDGE, RET_EDGE, RETURN_EDGE, START_EDGE, SWITCH_DEFAULT_EDGE, SWITCH_EDGE, UNHANDLED_EXCEPTION_EDGE, UNKNOWN_EDGE
Constructor and Description |
---|
PruneUnconditionalExceptionThrowerEdges(org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Method method,
org.apache.bcel.generic.MethodGen methodGen,
CFG cfg,
org.apache.bcel.generic.ConstantPoolGen cpg,
TypeDataflow typeDataflow,
AnalysisContext analysisContext) |
Modifier and Type | Method and Description |
---|---|
static boolean |
doesMethodUnconditionallyThrowException(XMethod xMethod) |
static java.lang.Boolean |
doesMethodUnconditionallyThrowException(XMethod xMethod,
org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Method method)
Deprecated.
Use
doesMethodUnconditionallyThrowException(XMethod)
instead |
void |
execute() |
boolean |
wasCFGModified()
Return whether or not the CFG was modified.
|
public PruneUnconditionalExceptionThrowerEdges(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, org.apache.bcel.generic.ConstantPoolGen cpg, TypeDataflow typeDataflow, AnalysisContext analysisContext)
public void execute() throws DataflowAnalysisException
DataflowAnalysisException
@Deprecated public static java.lang.Boolean doesMethodUnconditionallyThrowException(XMethod xMethod, org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)
doesMethodUnconditionallyThrowException(XMethod)
insteadxMethod
- javaClass
- method
- public static boolean doesMethodUnconditionallyThrowException(XMethod xMethod)
xMethod
- public boolean wasCFGModified()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.