Interface ICCImportFlowPoint

All Superinterfaces:
Comparable<ICCFlowPoint>, ICCBase, ICCBranchData, ICCCoverageData, ICCCoverageDataBasic, ICCFlowPoint, ICCImportBranchData, ICCImportFlowPointParent, ICCImportStatementData, ICCPercentItem, ICCSource, ICCStatementData, ICCStatementDataBasic, ICCTreeItem

Represents a function/entry/paragraph in a file Used during import to set values
Since:
3.1
  • Method Details

    • setLines

      void setLines(Integer[] lines)
      Adds an array of executable lines to this flow point Duplicates are ignored
      Parameters:
      lines - executable lines
    • setFirstLine

      void setFirstLine(int line)
      Set the first line
      Parameters:
      line - first line
      Since:
      8.0
    • setLastLine

      void setLastLine(int line)
      Set the last line
      Parameters:
      line - last line
      Since:
      8.0
    • setHit

      void setHit()
      Optional method that says this flow point was hit If not used then the first line of the flow point is checked to determine if it was hit
    • setType

      void setType(byte type)
      Sets the type of flowpoint. This API uses a generic flowpoint to represent the various types of language specific entry points (each has a different name) This method allows the importer to set a type (there are some already defined)
      Parameters:
      type - see ICCFlowPoint for pre-defined types
      Since:
      8.0
    • addBlockFirstLine

      void addBlockFirstLine(int line)
      Adds the first line for a block to the list of blocks.
      Parameters:
      line - first line of the block.
      Since:
      10.0