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.
- Alphabetic
- By Inheritance
- AnalyzingJavaCompiler
- JavaCompiler
- JavaTool
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val classLookup: (String) ⇒ Option[VirtualFile]
- val classpath: Seq[VirtualFile]
- val classpathOptions: ClasspathOptions
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compile(sources: Seq[VirtualFile], extraClasspath: Seq[VirtualFile], converter: FileConverter, options: Seq[String], output: xsbti.compile.Output, finalJarOutput: Option[Path], 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
- finalJarOutput
The output that will be used for straight to jar compilation if javac doesn't support it.
- 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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val javac: xsbti.compile.JavaCompiler
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
run(sources: Array[VirtualFile], options: Array[String], output: xsbti.compile.Output, 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.
- Definition Classes
- AnalyzingJavaCompiler → JavaTool
- Note
Don't use if you want incremental compilation.
- val scalaInstance: xsbti.compile.ScalaInstance
- val searchClasspath: Seq[VirtualFile]
-
def
supportsDirectToJar(): Boolean
- Definition Classes
- AnalyzingJavaCompiler → JavaCompiler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()