public class JavaCompilationProvider extends Object implements CompilationProvider
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
JavaCompilationProvider.RuntimeUpdatesClassVisitor |
CompilationProvider.Context| Modifier and Type | Field and Description |
|---|---|
(package private) JavaCompiler |
compiler |
(package private) StandardJavaFileManager |
fileManager |
(package private) DiagnosticCollector<JavaFileObject> |
fileManagerDiagnostics |
| Constructor and Description |
|---|
JavaCompilationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
compile(Set<File> filesToCompile,
CompilationProvider.Context context) |
Path |
getSourcePath(Path classFilePath,
Set<String> sourcePaths,
String classesPath) |
Set<String> |
handledExtensions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandledSourcePathsJavaCompiler compiler
StandardJavaFileManager fileManager
DiagnosticCollector<JavaFileObject> fileManagerDiagnostics
public Set<String> handledExtensions()
handledExtensions in interface CompilationProviderpublic void compile(Set<File> filesToCompile, CompilationProvider.Context context)
compile in interface CompilationProviderpublic Path getSourcePath(Path classFilePath, Set<String> sourcePaths, String classesPath)
getSourcePath in interface CompilationProviderpublic void close()
throws IOException
close in interface CompilationProviderclose in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.