public class PruneInfeasibleExceptionEdges extends java.lang.Object implements EdgeTypes
CFG
,
TypeAnalysis
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 |
---|
PruneInfeasibleExceptionEdges(CFG cfg,
org.apache.bcel.generic.MethodGen methodGen,
TypeDataflow typeDataflow)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Prune infeasible exception edges from the CFG.
|
boolean |
wasCFGModified() |
public PruneInfeasibleExceptionEdges(CFG cfg, org.apache.bcel.generic.MethodGen methodGen, TypeDataflow typeDataflow)
cfg
- the CFG to prunemethodGen
- the methodtypeDataflow
- initialized TypeDataflow object for the CFG, indicating the
types of all stack locationspublic void execute() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public boolean wasCFGModified()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.