Interface ICCImportStatement

All Superinterfaces:
Comparable<ICCStatement>, ICCStatement

public interface ICCImportStatement extends ICCStatement
Represents a statement that can be updated. To create a statement see implementors of ICCImportStatementData
ICCImportStatementData.createStatement(int, int...)
Since:
9.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    addHitCount(int count)
    Update the hit count by adding the passed value
    void
    setColumn(int column)
    Update the statement's beginning column on the line zero based
    void
    setContent(String content)
    Set the content of the line.
    void
    setEndColumn(int column)
    Update the statement's ending column on the line zero based
    void
    Indicate that this statement was hit Implementations may use hit count to record that it was hit This method will not change the hit count but ensure that it is at least set to 1
    void
    setHitCount(int count)
    Set the count to a specific value
    void
    setIndex(int index)
    Update the index of the statement on the line zero based The first statement on the line always has an index of zero

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCStatement

    getColumn, getContent, getEndColumn, getHitCount, getIndex, getLine, hasExtendedInfo, isHit
  • Method Details

    • setIndex

      void setIndex(int index)
      Update the index of the statement on the line zero based The first statement on the line always has an index of zero
      Parameters:
      index - update index of statement
    • setColumn

      void setColumn(int column)
      Update the statement's beginning column on the line zero based
      Parameters:
      column - update column of statement
    • setEndColumn

      void setEndColumn(int column)
      Update the statement's ending column on the line zero based
      Parameters:
      column - update end column of statement
    • setContent

      void setContent(String content)
      Set the content of the line.
      Parameters:
      content - content of statement
    • setHit

      void setHit()
      Indicate that this statement was hit Implementations may use hit count to record that it was hit This method will not change the hit count but ensure that it is at least set to 1
    • addHitCount

      int addHitCount(int count)
      Update the hit count by adding the passed value
      Parameters:
      count - add this value to statement's hit count
      Returns:
      updated count value
    • setHitCount

      void setHitCount(int count)
      Set the count to a specific value
      Parameters:
      count - update count of statement