# Interface ComponentWithObjectFiles

All Superinterfaces:
  `ComponentWithNativeRuntime, Named, SoftwareComponent`

All Known Subinterfaces:
  `CppBinary, CppExecutable, CppSharedLibrary, CppStaticLibrary, CppTestExecutable, SwiftBinary, SwiftExecutable, SwiftSharedLibrary, SwiftStaticLibrary, SwiftXCTestBinary, SwiftXCTestBundle, SwiftXCTestExecutable`

public interface ComponentWithObjectFiles extends ComponentWithNativeRuntime
Represents a component that produces object files.

Since:
  4.5

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `FileCollection`
  `getObjects()`
  Returns the object files created for this component.

  ### Methods inherited from interface ComponentWithNativeRuntime

  `getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimized`

  ### Methods inherited from interface Named

  `getName`

- ## Method Details

  - ### getObjects

    FileCollection getObjects()
    Returns the object files created for this component.