Analysis

sbt.internal.inc.Analysis
See theAnalysis companion object
trait Analysis extends CompileAnalysis

Attributes

Companion
object
Graph
Supertypes
trait CompileAnalysis
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def ++(other: Analysis): Analysis

Concatenates Analysis objects naively, i.e., doesn't internalize external deps on added files. See Analysis.merge.

Concatenates Analysis objects naively, i.e., doesn't internalize external deps on added files. See Analysis.merge.

Attributes

def --(sources: Iterable[VirtualFileRef]): Analysis

Drops all analysis information for sources naively, i.e., doesn't externalize internal deps on removed files.

Drops all analysis information for sources naively, i.e., doesn't externalize internal deps on removed files.

Attributes

def addSource(src: VirtualFileRef, apis: Iterable[AnalyzedClass], stamp: Stamp, info: SourceInfo, nonLocalProducts: Iterable[NonLocalProduct], localProducts: Iterable[LocalProduct], internalDeps: Iterable[InternalDependency], externalDeps: Iterable[ExternalDependency], libraryDeps: Iterable[(VirtualFileRef, String, Stamp)]): Analysis
def copy(stamps: Stamps, apis: APIs, relations: Relations, infos: SourceInfos, compilations: Compilations): Analysis

Concrete methods

override def readCompilations: ReadCompilations

Attributes

Definition Classes
CompileAnalysis
override def readSourceInfos: ReadSourceInfos

Attributes

Definition Classes
CompileAnalysis
override def readStamps: ReadStamps

Attributes

Definition Classes
CompileAnalysis

Abstract fields

val apis: APIs

Information about compiler runs accumulated since clean command has been run.

Information about compiler runs accumulated since clean command has been run.

The main use-case for using compilations field is to determine how many iterations it took to compilen give code. The Compilation object are also stored in Source objects so there's an indirect way to recover information about files being recompiled in every iteration.

The incremental compilation algorithm doesn't use information stored in compilations. It's safe to prune contents of that field without breaking internal consistency of the entire Analysis object.

Attributes

Mappings between sources, classes, and binaries.

Mappings between sources, classes, and binaries.

Attributes

val stamps: Stamps

Concrete fields

lazy override val toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.