Interface ICCImportStatement
- All Superinterfaces:
Comparable<ICCStatement>,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 TypeMethodDescriptionintaddHitCount(int count) Update the hit count by adding the passed valuevoidsetColumn(int column) Update the statement's beginning column on the line zero basedvoidsetContent(String content) Set the content of the line.voidsetEndColumn(int column) Update the statement's ending column on the line zero basedvoidsetHit()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 1voidsetHitCount(int count) Set the count to a specific valuevoidsetIndex(int index) Update the index of the statement on the line zero based The first statement on the line always has an index of zeroMethods inherited from interface java.lang.Comparable
compareToMethods 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
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
-