MixedAnalyzingCompiler

Define helpers to create a wrapper around a Scala incremental compiler xsbti.compile.ScalaCompiler and a Java incremental compiler xsbti.compile.JavaCompiler. Note that the wrapper delegates to the implementation of both compilers and only instructs how to run a cycle of cross Java-Scala compilation.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(config: CompileConfiguration)(implicit log: Logger): MixedAnalyzingCompiler
def classPathLookup(config: CompileConfiguration): String => Option[VirtualFile]

Returns a "lookup file for a given class name" function.

Returns a "lookup file for a given class name" function.

def config(sources: Seq[VirtualFile], converter: FileConverter, classpath: Seq[VirtualFile], setup: MiniSetup, progress: Option[CompileProgress], previousAnalysis: CompileAnalysis, previousSetup: Option[MiniSetup], perClasspathEntryLookup: PerClasspathEntryLookup, compiler: ScalaCompiler, javac: JavaCompiler, reporter: Reporter, skip: Boolean, cache: GlobalsCache, incrementalCompilerOptions: IncOptions, outputJarContent: OutputJarContent, earlyOutput: Option[Output], earlyAnalysisStore: Option[AnalysisStore], stamper: ReadStamps): CompileConfiguration
def makeConfig(scalac: ScalaCompiler, javac: JavaCompiler, sources: Seq[VirtualFile], converter: FileConverter, classpath: Seq[VirtualFile], cache: GlobalsCache, progress: Option[CompileProgress], options: Seq[String], javacOptions: Seq[String], previousAnalysis: CompileAnalysis, previousSetup: Option[MiniSetup], perClasspathEntryLookup: PerClasspathEntryLookup, reporter: Reporter, compileOrder: CompileOrder, skip: Boolean, incrementalCompilerOptions: IncOptions, output: Output, outputJarContent: OutputJarContent, earlyOutput: Option[Output], earlyAnalysisStore: Option[AnalysisStore], stamper: ReadStamps, extra: List[(String, String)]): CompileConfiguration
def searchClasspathAndLookup(config: CompileConfiguration): (Seq[VirtualFile], String => Option[VirtualFile])

Returns the search classpath (for dependencies) and a function which can also do so.

Returns the search classpath (for dependencies) and a function which can also do so.

def searchClasspathAndLookup(converter: FileConverter, classpath: Seq[VirtualFile], scalacOptions: Array[String], perClasspathEntryLookup: PerClasspathEntryLookup, compiler: ScalaCompiler): (Seq[VirtualFile], String => Option[VirtualFile])

Returns the search classpath (for dependencies) and a function which can also do so.

Returns the search classpath (for dependencies) and a function which can also do so.

def staticCachedStore(analysisFile: Path, useTextAnalysis: Boolean): AnalysisStore

Create a an analysis store cache at the desired location.

Create a an analysis store cache at the desired location.

Note: This method will be deprecated after Zinc 1.1.

def withBootclasspath(args: CompilerArguments, classpath: Seq[VirtualFile], converter: FileConverter): Seq[VirtualFile]