Interface ICCPart
- All Superinterfaces:
Comparable<ICCPart>,ICCBase,ICCCoverageDataBasic,ICCPercentItem,ICCStatementDataBasic,ICCTreeItem
- All Known Subinterfaces:
ICCImportPart
public interface ICCPart
extends ICCTreeItem, ICCStatementDataBasic, ICCCoverageDataBasic, Comparable<ICCPart>
Represents the result of a compilation
Several parts are linked to create a module
ICCModule
Contains ICCFile- Since:
- 4.0
-
Field Summary
Fields inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCCoverageDataBasic
EMPTYTESTCASES -
Method Summary
Modifier and TypeMethodDescriptionReturn a file by nameICCFile[]getFiles()Returns files associated with this part New in v10: Files with zero executable lines will be excluded if the ICCResult.addFilter(EXCLUDE_ZEROLINES) is setintReturns the language of the program If the language was not set it may be obtained from the first file in the partbooleanReturn true if this part is debuggableMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCBase
addEncodedMessage, addMessage, addMessage, getDecodedMessages, getDecodedMessages, getID, getMessages, getName, getProperties, getProperty, getProperty, isMessage, isProperty, setName, setProperty, updatePropertyMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCCoverageDataBasic
getNumExecutableLines, getNumFlowPoints, getNumHitFlowPoints, getNumHitLines, getTestcases, isHitMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCPercentItem
getPercentCoverageMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCStatementDataBasic
getNumExecutableStatements, getNumHitStatements, hasStatementsMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCTreeItem
addChild, addChildren, getChild, getChildren, getNumChildren, getParent, getQualifiedName, getUniqueID, getUUID, isRoot, refresh, setParent, setUUID, supportsUUID
-
Method Details
-
getFiles
ICCFile[] getFiles()Returns files associated with this part New in v10: Files with zero executable lines will be excluded if the ICCResult.addFilter(EXCLUDE_ZEROLINES) is set- Returns:
- array of files or empty array
-
getFile
Return a file by name- Parameters:
name- part name- Returns:
- null or the file
- Since:
- 6.0
-
isDebuggable
boolean isDebuggable()Return true if this part is debuggable- Returns:
- true if part has debug info
-
getLanguage
int getLanguage()Returns the language of the program If the language was not set it may be obtained from the first file in the part- Returns:
- see
ICCConstantsfor values - Since:
- 6.0
-