package javac
- Alphabetic
- Public
- All
Type Members
-
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.
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.
-
final
class
DiagnosticsReporter extends DiagnosticListener[JavaFileObject]
A diagnostics listener that feeds all messages into the given reporter.
-
final
class
ForkedJavaCompiler extends xsbti.compile.JavaCompiler
An implementation of compiling java which forks a Javac instance.
- final class ForkedJavadoc extends xsbti.compile.Javadoc
-
class
JavaErrorParser extends RegexParsers
A parser that is able to parse java's error output successfully.
-
final
case class
JavaPosition(_sourceFilePath: String, _line: Int, _contents: String, _offset: Int) extends Position with Product with Serializable
A wrapper around xsbti.Position so we can pass in Java input.
-
final
case class
JavaProblem(position: Position, severity: Severity, message: String) extends Problem with Product with Serializable
A wrapper around xsbti.Problem with java-specific options.
-
final
class
JavacLogger extends ProcessLogger
An adapted process logger which can feed semantic error events from Javac as well as just dump logs.
-
final
class
LocalJavaCompiler extends xsbti.compile.JavaCompiler
Define the implementation of a Java compiler which delegates to the JVM resident Java compiler.
-
final
class
LocalJavadoc extends xsbti.compile.Javadoc
Implementation of javadoc tool which attempts to run it locally (in-class).
-
final
class
WriteReportingFileManager extends ForwardingJavaFileManager[JavaFileManager]
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 wrappingRegularFileObject
with other instances, e.g.ForwardingFileObject
.
-
final
class
WriteReportingJavaFileObject extends ForwardingJavaFileObject[JavaFileObject]
Track write calls through customized file manager.
Value Members
- object DiagnosticsReporter
-
object
ForkedJava
Helper methods for running the java toolchain by forking.
-
object
JavaCompiler
Factory methods for constructing a java compiler.
-
object
JavaNoPosition extends Position
A position which has no information, because there is none.
-
object
JavaTools
Factory methods for getting a java toolchain.
-
object
Javadoc
Factory methods for constructing a javadoc.
-
object
LocalJava
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.