Class PruneUnconditionalExceptionThrowerEdges

java.lang.Object
edu.umd.cs.findbugs.ba.PruneUnconditionalExceptionThrowerEdges
All Implemented Interfaces:
EdgeTypes

public class PruneUnconditionalExceptionThrowerEdges extends Object implements EdgeTypes
  • Constructor Details

    • PruneUnconditionalExceptionThrowerEdges

      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)
  • Method Details

    • execute

      public void execute() throws DataflowAnalysisException
      Throws:
      DataflowAnalysisException
    • doesMethodUnconditionallyThrowException

      @Deprecated public static Boolean doesMethodUnconditionallyThrowException(XMethod xMethod, org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)
      Parameters:
      xMethod -
      javaClass -
      method -
      Returns:
      true if method unconditionally throws
    • doesMethodUnconditionallyThrowException

      public static boolean doesMethodUnconditionallyThrowException(XMethod xMethod)
      Parameters:
      xMethod -
      Returns:
      true if method unconditionally throws
    • wasCFGModified

      public boolean wasCFGModified()
      Return whether or not the CFG was modified.
      Returns:
      true if CFG was modified, false otherwise