edu.umd.cs.findbugs.ba

Class PruneUnconditionalExceptionThrowerEdges

public class PruneUnconditionalExceptionThrowerEdges extends Object implements EdgeTypes

Constructor Summary
PruneUnconditionalExceptionThrowerEdges(ClassContext classContext, JavaClass javaClass, Method method, MethodGen methodGen, CFG cfg, ConstantPoolGen cpg, AnalysisContext analysisContext)
Method Summary
static BooleandoesMethodUnconditionallyThrowException(XMethod xMethod, JavaClass javaClass, Method method)
voidexecute()
booleanwasCFGModified()
Return whether or not the CFG was modified.

Constructor Detail

PruneUnconditionalExceptionThrowerEdges

public PruneUnconditionalExceptionThrowerEdges(ClassContext classContext, JavaClass javaClass, Method method, MethodGen methodGen, CFG cfg, ConstantPoolGen cpg, AnalysisContext analysisContext)

Method Detail

doesMethodUnconditionallyThrowException

public static Boolean doesMethodUnconditionallyThrowException(XMethod xMethod, JavaClass javaClass, Method method)

Parameters: xMethod javaClass method

Returns: true if method unconditionally throws

execute

public void execute()

wasCFGModified

public boolean wasCFGModified()
Return whether or not the CFG was modified.

Returns: true if CFG was modified, false otherwise

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.