c

sbt.internal.inc.javac

AnalyzingJavaCompiler

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
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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val classLookup: (String) ⇒ Option[File]
  6. val classpath: Seq[File]
  7. val classpathOptions: ClasspathOptions
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def compile(sources: Seq[File], options: Seq[String], output: xsbti.compile.Output, callback: xsbti.AnalysisCallback, incToolOptions: IncToolOptions, reporter: Reporter, log: Logger, progressOpt: Option[CompileProgress]): Unit

    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
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val javac: xsbti.compile.JavaCompiler
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def run(sources: Array[File], options: Array[String], incToolOptions: IncToolOptions, reporter: Reporter, log: Logger): Boolean

    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.

    returns

    true if no errors, false otherwise.

    Definition Classes
    AnalyzingJavaCompilerJavaTool
    Note

    Don't use if you want incremental compilation.

  21. val scalaInstance: xsbti.compile.ScalaInstance
  22. val searchClasspath: Seq[File]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from JavaTool

Inherited from AnyRef

Inherited from Any

Ungrouped