Class

sbt.internal.inc.javac

AnalyzingJavaCompiler

Related Doc: package javac

Permalink

final class AnalyzingJavaCompiler extends xsbti.compile.JavaCompiler

Define a Java compiler that reports on any discovered source dependencies or APIs found via the incremental compilation and AnalysisCallback.

Note that this compiler does not implement a CachedCompilerProvider because the Java compiler can easily be initialized via reflection.

Linear Supertypes
xsbti.compile.JavaCompiler, JavaTool, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnalyzingJavaCompiler
  2. JavaCompiler
  3. JavaTool
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val classLookup: (String) ⇒ Option[File]

    Permalink

    The mechanism to map class files to classpath entries.

  6. val classpath: Seq[File]

    Permalink

    The classpath to be used by Javac.

  7. val classpathOptions: ClasspathOptions

    Permalink

    The classpath options for a compiler.

    The classpath options for a compiler. This instance returns false always only for Java compilers.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compile(sources: Seq[File], options: Seq[String], output: Output, callback: xsbti.AnalysisCallback, incToolOptions: IncToolOptions, reporter: Reporter, log: Logger, progressOpt: Option[CompileProgress]): Unit

    Permalink

    Compile some java code using the current configured compiler.

    Compile some java code using the current configured compiler.

    sources

    The sources to compile

    options

    The options for the Java compiler

    output

    The output configuration for this compiler

    callback

    A callback to report discovered source/binary dependencies on.

    incToolOptions

    The component that manages generated class files.

    reporter

    A reporter where semantic compiler failures can be reported.

    log

    A place where we can log debugging/error messages.

    progressOpt

    An optional compilation progress reporter to report back what files are currently under compilation.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val javac: xsbti.compile.JavaCompiler

    Permalink

    An instance of a Java compiler.

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def run(sources: Array[File], options: Array[String], incToolOptions: IncToolOptions, reporter: Reporter, log: Logger): Boolean

    Permalink

    Compile some java code using the current configured compiler.

    Compile some java code using the current configured compiler. This implements a method from JavaCompiler that will **not** perform incremental compilation of any way.

    sources

    The sources to compile

    options

    The options for the Java compiler

    incToolOptions

    The component that manages generated class files.

    reporter

    A reporter where semantic compiler failures can be reported.

    log

    A place where we can log debugging/error messages.

    Definition Classes
    AnalyzingJavaCompiler → JavaTool
    Note

    Don't use if you want incremental compilation.

  21. val scalaInstance: xsbti.compile.ScalaInstance

    Permalink

    The Scala instance encapsulating classpath entries for a given Scala version.

  22. val searchClasspath: Seq[File]

    Permalink

    The classpath used to look for binary dependencies.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from xsbti.compile.JavaCompiler

Inherited from JavaTool

Inherited from AnyRef

Inherited from Any

Ungrouped