Serialized Form


Package xsbti

Class xsbti.CompileCancelled extends java.lang.RuntimeException implements Serializable

Class xsbti.CompileFailed extends java.lang.RuntimeException implements Serializable


Package xsbti.api

Class xsbti.api._internalOnly_NameHash extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

hash

int hash

Class xsbti.api._internalOnly_NameHashes extends java.lang.Object implements Serializable

Serialized Fields

regularMembers

_internalOnly_NameHash[] regularMembers

implicitMembers

_internalOnly_NameHash[] implicitMembers

Class xsbti.api.AbstractLazy extends java.lang.Object implements Serializable

Serialization Methods

writeReplace

private java.lang.Object writeReplace()
                               throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException

Class xsbti.api.Access extends java.lang.Object implements Serializable

Class xsbti.api.Annotated extends Type implements Serializable

Serialized Fields

baseType

Type baseType

annotations

Annotation[] annotations

Class xsbti.api.Annotation extends java.lang.Object implements Serializable

Serialized Fields

base

Type base

arguments

AnnotationArgument[] arguments

Class xsbti.api.AnnotationArgument extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

value

java.lang.String value

Class xsbti.api.ClassLike extends ParameterizedDefinition implements Serializable

Serialized Fields

definitionType

DefinitionType definitionType

selfType

Lazy<T> selfType

structure

Lazy<T> structure

savedAnnotations

java.lang.String[] savedAnnotations

Class xsbti.api.Compilation extends java.lang.Object implements Serializable

Serialized Fields

startTime

long startTime

outputs

OutputSetting[] outputs

Class xsbti.api.Constant extends Type implements Serializable

Serialized Fields

baseType

Type baseType

value

java.lang.String value

Class xsbti.api.Def extends ParameterizedDefinition implements Serializable

Serialized Fields

valueParameters

ParameterList[] valueParameters

returnType

Type returnType

Class xsbti.api.Definition extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

access

Access access

modifiers

Modifiers modifiers

annotations

Annotation[] annotations

Class xsbti.api.EmptyType extends SimpleType implements Serializable

Class xsbti.api.Existential extends Type implements Serializable

Serialized Fields

baseType

Type baseType

clause

TypeParameter[] clause

Class xsbti.api.ExternalDependency extends java.lang.Object implements Serializable

Serialized Fields

sourceFile

java.io.File sourceFile

targetClassName

java.lang.String targetClassName

targetSource

Source targetSource

context

DependencyContext context

Class xsbti.api.FieldLike extends Definition implements Serializable

Serialized Fields

tpe

Type tpe

Class xsbti.api.Id extends PathComponent implements Serializable

Serialized Fields

id

java.lang.String id

Class xsbti.api.IdQualifier extends Qualifier implements Serializable

Serialized Fields

value

java.lang.String value

Class xsbti.api.InternalDependency extends java.lang.Object implements Serializable

Serialized Fields

sourceFile

java.io.File sourceFile

targetFile

java.io.File targetFile

context

DependencyContext context

Class xsbti.api.MethodParameter extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

tpe

Type tpe

hasDefault

boolean hasDefault

modifier

ParameterModifier modifier

Class xsbti.api.Modifiers extends java.lang.Object implements Serializable

Serialized Fields

flags

byte flags

Class xsbti.api.OutputSetting extends java.lang.Object implements Serializable

Serialized Fields

sourceDirectory

java.lang.String sourceDirectory

outputDirectory

java.lang.String outputDirectory

Class xsbti.api.Package extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

Class xsbti.api.Parameterized extends SimpleType implements Serializable

Serialized Fields

baseType

SimpleType baseType

typeArguments

Type[] typeArguments

Class xsbti.api.ParameterizedDefinition extends Definition implements Serializable

Serialized Fields

typeParameters

TypeParameter[] typeParameters

Class xsbti.api.ParameterList extends java.lang.Object implements Serializable

Serialized Fields

parameters

MethodParameter[] parameters

isImplicit

boolean isImplicit

Class xsbti.api.ParameterRef extends SimpleType implements Serializable

Serialized Fields

id

java.lang.String id

Class xsbti.api.Path extends java.lang.Object implements Serializable

Serialized Fields

components

PathComponent[] components

Class xsbti.api.PathComponent extends java.lang.Object implements Serializable

Class xsbti.api.Polymorphic extends Type implements Serializable

Serialized Fields

baseType

Type baseType

parameters

TypeParameter[] parameters

Class xsbti.api.Private extends Qualified implements Serializable

Class xsbti.api.Projection extends SimpleType implements Serializable

Serialized Fields

prefix

SimpleType prefix

id

java.lang.String id

Class xsbti.api.Protected extends Qualified implements Serializable

Class xsbti.api.Public extends Access implements Serializable

Class xsbti.api.Qualified extends Access implements Serializable

Serialized Fields

qualifier

Qualifier qualifier

Class xsbti.api.Qualifier extends java.lang.Object implements Serializable

Class xsbti.api.SimpleType extends Type implements Serializable

Class xsbti.api.Singleton extends SimpleType implements Serializable

Serialized Fields

path

Path path

Class xsbti.api.Source extends java.lang.Object implements Serializable

Serialized Fields

compilation

Compilation compilation

hash

byte[] hash

api

SourceAPI api

apiHash

int apiHash

_internalOnly_nameHashes

_internalOnly_NameHashes _internalOnly_nameHashes

hasMacro

boolean hasMacro

Class xsbti.api.SourceAPI extends java.lang.Object implements Serializable

Serialized Fields

packages

Package[] packages

definitions

Definition[] definitions

Class xsbti.api.Structure extends Type implements Serializable

Serialized Fields

parents

Lazy<T> parents

declared

Lazy<T> declared

inherited

Lazy<T> inherited

Class xsbti.api.Super extends PathComponent implements Serializable

Serialized Fields

qualifier

Path qualifier

Class xsbti.api.This extends PathComponent implements Serializable

Class xsbti.api.ThisQualifier extends Qualifier implements Serializable

Class xsbti.api.Type extends java.lang.Object implements Serializable

Class xsbti.api.TypeAlias extends TypeMember implements Serializable

Serialized Fields

tpe

Type tpe

Class xsbti.api.TypeDeclaration extends TypeMember implements Serializable

Serialized Fields

lowerBound

Type lowerBound

upperBound

Type upperBound

Class xsbti.api.TypeMember extends ParameterizedDefinition implements Serializable

Class xsbti.api.TypeParameter extends java.lang.Object implements Serializable

Serialized Fields

id

java.lang.String id

annotations

Annotation[] annotations

typeParameters

TypeParameter[] typeParameters

variance

Variance variance

lowerBound

Type lowerBound

upperBound

Type upperBound

Class xsbti.api.Unqualified extends Qualifier implements Serializable

Class xsbti.api.Val extends FieldLike implements Serializable

Class xsbti.api.Var extends FieldLike implements Serializable


Package xsbti.compile

Class xsbti.compile.ClassfileManagerType extends java.lang.Object implements Serializable

Class xsbti.compile.CompileAnalysis extends java.lang.Object implements Serializable

Class xsbti.compile.CompileOptions extends java.lang.Object implements Serializable

Serialized Fields

classpath

java.io.File[] classpath
The classpath to use for compilation. This will be modified according to the ClasspathOptions used to configure the ScalaCompiler.


sources

java.io.File[] sources
All sources that should be recompiled. This should include Scala and Java sources, which are identified by their extension.


classesDirectory

java.io.File classesDirectory

scalacOptions

java.lang.String[] scalacOptions
The options to pass to the Scala compiler other than the sources and classpath to use.


javacOptions

java.lang.String[] javacOptions
The options to pass to the Java compiler other than the sources and classpath to use.


maxErrors

int maxErrors

sourcePositionMapper

F1<A1,R> sourcePositionMapper

order

CompileOrder order
Controls the order in which Java and Scala sources are compiled.

Class xsbti.compile.CompileResult extends java.lang.Object implements Serializable

Serialized Fields

analysis

CompileAnalysis analysis

setup

MiniSetup setup

hasModified

boolean hasModified

Class xsbti.compile.DeleteImmediatelyManagerType extends ClassfileManagerType implements Serializable

Class xsbti.compile.IncOptions extends java.lang.Object implements Serializable

Serialized Fields

transitiveStep

int transitiveStep
After which step include whole transitive closure of invalidated source files.


recompileAllFraction

double recompileAllFraction
What's the fraction of invalidated source files when we switch to recompiling all files and giving up incremental compilation altogether. That's useful in cases when probability that we end up recompiling most of source files but in multiple steps is high. Multi-step incremental recompilation is slower than recompiling everything in one step.


relationsDebug

boolean relationsDebug
Print very detailed information about relations, such as dependencies between source files.


apiDebug

boolean apiDebug
Enable tools for debugging API changes.


apiDiffContextSize

int apiDiffContextSize
Controls context size (in lines) displayed when diffs are produced for textual API representation. This option is used only when `apiDebug == true`.


apiDumpDirectory

xsbti.Maybe<t> apiDumpDirectory
The directory where we dump textual representation of APIs. This method might be called only if apiDebug returns true. This is unused option at the moment as the needed functionality is not implemented yet.


classfileManagerType

xsbti.Maybe<t> classfileManagerType
ClassfileManager that will handle class file deletion and addition during a single incremental compilation run.


recompileOnMacroDef

xsbti.Maybe<t> recompileOnMacroDef
Determines whether incremental compiler should recompile all dependencies of a file that contains a macro definition.


nameHashing

boolean nameHashing
Determines whether incremental compiler uses the new algorithm known as name hashing.


antStyle

boolean antStyle
THE `antStyle` OPTION IS UNSUPPORTED, MAY GO AWAY AT ANY POINT. Enables "ant-style" mode of incremental compilation. This mode emulates what Ant's scalac command does. The idea is to recompile just changed source files and not perform any invalidation of dependencies. This is a very naive mode of incremental compilation that very often leads to broken binaries. The Ant-style mode has been introduced because Scala team might need it for migration of Scala compiler to sbt. It was added as a defensive measure so that the SBT build would be at least no worse than Ant wrt recompilation. When working on changes that are pathological for the normal inc compiler mode, one could switch in to this mode and use our old tricks of touching files we know need recompilation. The name hashing algorithm doesn't work well with Scala compiler sources due to deep inheritance chains. There's a plan to refactor compiler's code to use more composition instead of inheritance. Once Scala compiler sources are refactored to work well with name hashing algorithm this option will be deleted immediately. See also https://github.com/sbt/incrementalcompiler/issues/22


extra

java.util.Map<K,V> extra
Extra options

Class xsbti.compile.Inputs extends java.lang.Object implements Serializable

Serialized Fields

compilers

Compilers compilers
The Scala and Java compilers to use for compilation.


options

CompileOptions options
Standard compilation options, such as the sources and classpath to use.


setup

Setup setup
Configures incremental compilation.


previousResult

PreviousResult previousResult

Class xsbti.compile.MiniOptions extends java.lang.Object implements Serializable

Serialized Fields

scalacOptions

java.lang.String[] scalacOptions
The options to pass to the Scala compiler other than the sources and classpath to use.


javacOptions

java.lang.String[] javacOptions
The options to pass to the Java compiler other than the sources and classpath to use.

Class xsbti.compile.MiniSetup extends java.lang.Object implements Serializable

Serialized Fields

output

Output output

options

MiniOptions options

compilerVersion

java.lang.String compilerVersion

order

CompileOrder order

nameHashing

boolean nameHashing

Class xsbti.compile.PreviousResult extends java.lang.Object implements Serializable

Serialized Fields

analysis

xsbti.Maybe<t> analysis

setup

xsbti.Maybe<t> setup

Class xsbti.compile.Setup extends java.lang.Object implements Serializable

Serialized Fields

analysisMap

F1<A1,R> analysisMap
Provides the Analysis for the given classpath entry.


definesClass

F1<A1,R> definesClass
Provides a function to determine if classpath entry `file` contains a given class. The returned function should generally cache information about `file`, such as the list of entries in a jar.


skip

boolean skip
If true, no sources are actually compiled and the Analysis from the previous compilation is returned.


cacheFile

java.io.File cacheFile
The file used to cache information across compilations. This file can be removed to force a full recompilation. The file should be unique and not shared between compilations.


cache

GlobalsCache cache

incrementalCompilerOptions

IncOptions incrementalCompilerOptions

reporter

Reporter reporter
The reporter that should be used to report scala compilation to.

Class xsbti.compile.TransactionalManagerType extends ClassfileManagerType implements Serializable

Serialized Fields

backupDirectory

java.io.File backupDirectory

logger

xsbti.Logger logger