Uses of Interface
io.github.ascopes.jct.compilers.JctCompiler
Package
Description
APIs for performing compiler passes across user-defined workspaces.
APIs that integrate with the JSR-199 FileManager APIs.
Reusable components for setting up JSR-199 file managers.
Integrations with Junit Jupiter APIs.
-
Uses of JctCompiler in io.github.ascopes.jct.compilers
Modifier and TypeClassDescriptionclass
Common functionality for a compiler that can be overridden and that produces aJctCompilationImpl
as the compilation result.Modifier and TypeMethodDescriptionJctCompiler.addAnnotationProcessorOptions
(Iterable<String> annotationProcessorOptions) Add options to pass to any annotation processors.default JctCompiler
JctCompiler.addAnnotationProcessorOptions
(String... annotationProcessorOptions) Add options to pass to any annotation processors.JctCompiler.addAnnotationProcessors
(Iterable<? extends Processor> annotationProcessors) Add annotation processors to invoke.default JctCompiler
JctCompiler.addAnnotationProcessors
(Processor... annotationProcessors) Add annotation processors to invoke.JctCompiler.addCompilerOptions
(Iterable<String> compilerOptions) Add command line options to pass tojavac
.default JctCompiler
JctCompiler.addCompilerOptions
(String... compilerOptions) Add command line options to pass tojavac
.JctCompiler.annotationProcessorDiscovery
(AnnotationProcessorDiscovery annotationProcessorDiscovery) Set how to perform annotation processor discovery.JctCompiler.compilationMode
(CompilationMode compilationMode) Set the compilation mode to use for this compiler.<E extends Exception>
JctCompilerJctCompiler.configure
(JctCompilerConfigurer<E> configurer) Apply a given configurer to this compiler.AbstractJctCompiler.debuggingInfo
(Set<DebuggingInfo> debuggingInfo) JctCompiler.debuggingInfo
(Set<DebuggingInfo> debuggingInfoFlags) Set the debugging info level to use.JctCompiler.diagnosticLoggingMode
(LoggingMode diagnosticLoggingMode) Set how to handle diagnostic capture.JctCompiler.failOnWarnings
(boolean enabled) Set whether to enable treating warnings as errors or not.JctCompiler.fileManagerLoggingMode
(LoggingMode fileManagerLoggingMode) Set how to handle logging calls to underlying file managers.JctCompiler.fixJvmModulePathMismatch
(boolean fixJvmModulePathMismatch) Get whether we will attempt to fix modules appearing on the classpath, or non-modules appearing on the module path.JctCompiler.inheritClassPath
(boolean inheritClassPath) Set whether the class path is inherited from the active JVM or not.JctCompiler.inheritModulePath
(boolean inheritModulePath) Set whether the module path is inherited from the active JVM or not.JctCompiler.inheritSystemModulePath
(boolean inheritSystemModulePath) Set whether the system module path is inherited from the active JVM or not.Set the output locale.JctCompiler.logCharset
(Charset logCharset) Set the charset being used to write compiler logs with.Set the friendly name of this compiler.static JctCompiler
JctCompilers.newPlatformCompiler()
Create a new instance of the default platform compiler that is part of the JDK (javac
on OpenJDK-derived implementations).AbstractJctCompiler.parameterInfoEnabled
(boolean parameterInfoEnabled) JctCompiler.parameterInfoEnabled
(boolean parameterInfoEnabled) Set whether to include parameter reflective info by default in compiled classes or not.JctCompiler.previewFeatures
(boolean enabled) Set whether to enable compiler preview features or not.default JctCompiler
JctCompiler.release
(int release) Set the release version.Set the release version.default JctCompiler
JctCompiler.release
(SourceVersion release) Set the release version.JctCompiler.showDeprecationWarnings
(boolean enabled) Set whether to enable deprecation warnings or not.JctCompiler.showWarnings
(boolean enabled) Set whether to enable displaying warnings or not.default JctCompiler
JctCompiler.source
(int source) Set the source version.Set the source version.default JctCompiler
JctCompiler.source
(SourceVersion source) Set the source version.default JctCompiler
JctCompiler.target
(int target) Set the target version.Set the target version.default JctCompiler
JctCompiler.target
(SourceVersion target) Set the target version.default JctCompiler
JctCompiler.useRuntimeRelease()
Request that the compiler uses a language version that corresponds to the runtime language version in use on the current JVM.JctCompiler.verbose
(boolean enabled) Set whether to use verbose output or not.Modifier and TypeMethodDescriptionvoid
JctCompilerConfigurer.configure
(JctCompiler compiler) Apply configuration logic to the given compiler. -
Uses of JctCompiler in io.github.ascopes.jct.filemanagers
Modifier and TypeMethodDescriptionstatic JctFileManagerFactory
JctFileManagers.newJctFileManagerFactory
(JctCompiler compiler) Create a new default implementation of a file manager factory. -
Uses of JctCompiler in io.github.ascopes.jct.filemanagers.config
ModifierConstructorDescriptionInitialise the configurer with the desired compiler.Initialise the configurer with the desired compiler.Initialise the configurer with the desired compiler.Initialise the configurer with the desired compiler.Initialise the configurer with the desired compiler.Initialise this configurer. -
Uses of JctCompiler in io.github.ascopes.jct.junit
Modifier and TypeMethodDescriptionprotected abstract JctCompiler
AbstractCompilersProvider.initializeNewCompiler()
Initialise a new compiler.protected JctCompiler
JavacCompilersProvider.initializeNewCompiler()
Modifier and TypeMethodDescriptionabstract void
VersionStrategy.configureCompiler
(JctCompiler compiler, int version) Set the given version on the compiler, according to the strategy in use.