Package

sbt.internal.inc

javac

Permalink

package javac

Visibility
  1. Public
  2. All

Type Members

  1. final class DiagnosticsReporter extends DiagnosticListener[JavaFileObject]

    Permalink

    A diagnostics listener that feeds all messages into the given reporter.

  2. final class ForkedJavaCompiler extends JavaCompiler

    Permalink

    An implementation of compiling java which forks a Javac instance.

  3. final class ForkedJavadoc extends Javadoc

    Permalink
  4. class JavaErrorParser extends RegexParsers

    Permalink

    A parser that is able to parse java's error output successfully.

  5. final case class JavaPosition(_sourceFilePath: String, _line: Int, _contents: String, _offset: Int) extends Position with Product with Serializable

    Permalink

    A wrapper around xsbti.Position so we can pass in Java input.

  6. final case class JavaProblem(position: Position, severity: Severity, message: String) extends Problem with Product with Serializable

    Permalink

    A wrapper around xsbti.Problem with java-specific options.

  7. final class JavacLogger extends ProcessLogger

    Permalink

    An adapted process logger which can feed semantic error events from Javac as well as just dump logs.

  8. final class LocalJavaCompiler extends JavaCompiler

    Permalink

    Define the implementation of a Java compiler which delegates to the JVM resident Java compiler.

  9. final class LocalJavadoc extends Javadoc

    Permalink

    Implementation of javadoc tool which attempts to run it locally (in-class).

  10. final class WriteReportingFileManager extends ForwardingJavaFileManager[JavaFileManager]

    Permalink

    Track write calls through customized file manager.

    Track write calls through customized file manager.

    Note

    getFileForOutput used by the annotation process for writing resources cannot be overridden because of a Javac SDK check. JDK8 has a hard-coded check against it that impedes wrapping RegularFileObject with other instances, e.g. ForwardingFileObject.

  11. final class WriteReportingJavaFileObject extends ForwardingJavaFileObject[JavaFileObject]

    Permalink

    Track write calls through customized file manager.

Value Members

  1. object ForkedJava

    Permalink

    Helper methods for running the java toolchain by forking.

  2. object JavaCompiler

    Permalink

    Factory methods for constructing a java compiler.

  3. object JavaNoPosition extends Position

    Permalink

    A position which has no information, because there is none.

  4. object JavaTools

    Permalink

    Factory methods for getting a java toolchain.

  5. object Javadoc

    Permalink

    Factory methods for constructing a javadoc.

  6. object LocalJava

    Permalink

    Define helper methods that will try to instantiate the Java toolchain in our current class loaders.

    Define helper methods that will try to instantiate the Java toolchain in our current class loaders. This operation may fail because different JDK versions will include different Java tool chains.

Ungrouped