Packages

o

sbt.internal.inc

Incremental

object Incremental

Helper methods for running incremental compilation. This is responsible for is adapting any xsbti.AnalysisCallback into one compatible with the sbt.internal.inc.Incremental class.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Incremental
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait CompileCycle extends AnyRef
  2. case class CompileCycleResult(continue: Boolean, nextInvalidations: Set[String], analysis: Analysis) extends Product with Serializable
  3. abstract class IncrementalCallback extends AnyRef

    This is a callback from AnalysisCallback back up to Zinc code to perform mid-compilation.

  4. class PrefixingLogger extends Logger

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(sources: Set[VirtualFile], converter: FileConverter, lookup: Lookup, previous0: CompileAnalysis, options: IncOptions, currentSetup: MiniSetup, stamper: ReadStamps, output: xsbti.compile.Output, outputJarContent: OutputJarContent, earlyOutput: Option[xsbti.compile.Output], earlyAnalysisStore: Option[AnalysisStore], progress: Option[CompileProgress], log: Logger)(compile: (Set[VirtualFile], DependencyChanges, xsbti.AnalysisCallback, xsbti.compile.ClassFileManager) ⇒ Unit): (Boolean, Analysis)

    Runs the incremental compilation algorithm.

    Runs the incremental compilation algorithm.

    sources

    The full set of input sources

    converter

    FileConverter to convert between Path and VirtualFileRef.

    lookup

    An instance of the Lookup that implements looking up both classpath elements and Analysis object instances by a binary class name.

    previous0

    The previous dependency Analysis (or an empty one).

    options

    Incremental compiler options (like name hashing vs. not).

    output

    The configured output directory/directory mapping for source files.

    log

    Where all log messages should go

    compile

    The mechanism to run a single 'step' of compile, for ALL source files involved.

    returns

    A flag of whether or not compilation completed successfully, and the resulting dependency analysis object.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def compileAllJava(sources: Seq[VirtualFile], converter: FileConverter, lookup: Lookup, previous0: CompileAnalysis, options: IncOptions, currentSetup: MiniSetup, stamper: ReadStamps, output: xsbti.compile.Output, outputJarContent: OutputJarContent, earlyOutput: Option[xsbti.compile.Output], earlyAnalysisStore: Option[AnalysisStore], progress: Option[CompileProgress], log: Logger)(compileJava: (Seq[VirtualFile], xsbti.AnalysisCallback, xsbti.compile.ClassFileManager) ⇒ Unit): (Boolean, Analysis)

    Compile all Java sources.

    Compile all Java sources. We are using Incremental class because we still need to perform Analysis so other subprojects can do incremental compilation.

  8. def doCompile(compile: (Set[VirtualFile], DependencyChanges, xsbti.AnalysisCallback, xsbti.compile.ClassFileManager) ⇒ Unit, callbackBuilder: Builder, classFileManager: xsbti.compile.ClassFileManager): CompileCycle

    Compilation unit in each compile cycle.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def extractEarlyJar(earlyOutput: Option[xsbti.compile.Output]): Option[Path]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def incrementalCompile(sources: Set[VirtualFile], converter: FileConverter, lookup: Lookup, previous0: CompileAnalysis, current: ReadStamps, compile: (Set[VirtualFile], DependencyChanges, xsbti.AnalysisCallback, xsbti.compile.ClassFileManager) ⇒ Unit, callbackBuilder: Builder, incremental: IncrementalCommon, options: IncOptions, currentSetup: MiniSetup, output: xsbti.compile.Output, outputJarContent: OutputJarContent, earlyOutput: Option[xsbti.compile.Output], progress: Option[CompileProgress], log: Logger)(implicit equivS: Equiv[xsbti.compile.analysis.Stamp]): (Boolean, Analysis)

    Runs the incremental compiler algorithm.

    Runs the incremental compiler algorithm.

    sources

    The sources to compile

    converter

    FileConverter to convert between Path and VirtualFileRef.

    lookup

    An instance of the Lookup that implements looking up both classpath elements and Analysis object instances by a binary class name.

    previous0

    The previous dependency Analysis (or an empty one).

    current

    A mechanism for generating stamps (timestamps, hashes, etc).

    compile

    The function which can run one level of compile.

    callbackBuilder

    The builder that builds callback where we report dependency issues.

    options

    Incremental compilation options

    outputJarContent

    Object that holds cached content of output jar

    log

    The log where we write debugging information

    equivS

    The means of testing whether two "Stamps" are the same.

    returns

    A flag of whether or not compilation completed successfully, and the resulting dependency analysis object.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPickleJava(scalacOptions: Seq[String]): Boolean
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. object CompileCycleResult extends Serializable

Deprecated Value Members

  1. val incDebugProp: String
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Use IncOptions.relationsDebug flag to enable debugging of relations.

Inherited from AnyRef

Inherited from Any

Ungrouped