Class CFGProcessor.CFGProcessResult

java.lang.Object
org.checkerframework.dataflow.cfg.CFGProcessor.CFGProcessResult
Enclosing class:
CFGProcessor

public static class CFGProcessor.CFGProcessResult extends Object
The result of the CFG process, contains the control flow graph when successful.
  • Method Details

    • isSuccess

      @Pure @EnsuresNonNullIf(expression="getCFG()",result=true) @EnsuresNonNullIf(expression="getErrMsg()",result=false) public boolean isSuccess()
      Check if the CFG process succeeded.
      Returns:
      true if the CFG process succeeded
    • getCFG

      @Pure public @Nullable ControlFlowGraph getCFG()
      Returns the generated control flow graph.
      Returns:
      the generated control flow graph
    • getErrMsg

      @Pure public @Nullable String getErrMsg()
      Returns the error message.
      Returns:
      the error message