Interface ICCPart

All Superinterfaces:
Comparable<ICCPart>, ICCBase, ICCCoverageDataBasic, ICCPercentItem, ICCStatementDataBasic, ICCTreeItem
All Known Subinterfaces:
ICCImportPart

Represents the result of a compilation Several parts are linked to create a module ICCModule Contains ICCFile
Since:
4.0
  • 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

      ICCFile getFile(String name)
      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 ICCConstants for values
      Since:
      6.0