Uses of Interface
io.github.ascopes.jct.compilers.JctCompiler
Packages that use 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
Classes in io.github.ascopes.jct.compilers that implement JctCompilerModifier and TypeClassDescriptionclassCommon functionality for a compiler that can be overridden and that produces aJctCompilationImplas the compilation result.Methods in io.github.ascopes.jct.compilers that return JctCompilerModifier and TypeMethodDescriptionJctCompiler.addAnnotationProcessorOptions(Iterable<String> annotationProcessorOptions) Add options to pass to any annotation processors.default JctCompilerJctCompiler.addAnnotationProcessorOptions(String... annotationProcessorOptions) Add options to pass to any annotation processors.JctCompiler.addAnnotationProcessors(Iterable<? extends Processor> annotationProcessors) Add annotation processors to invoke.default JctCompilerJctCompiler.addAnnotationProcessors(Processor... annotationProcessors) Add annotation processors to invoke.JctCompiler.addCompilerOptions(Iterable<String> compilerOptions) Add command line options to pass tojavac.default JctCompilerJctCompiler.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 JctCompilerJctCompilers.newPlatformCompiler()Create a new instance of the default platform compiler that is part of the JDK (javacon 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 JctCompilerJctCompiler.release(int release) Set the release version.Set the release version.default JctCompilerJctCompiler.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 JctCompilerJctCompiler.source(int source) Set the source version.Set the source version.default JctCompilerJctCompiler.source(SourceVersion source) Set the source version.default JctCompilerJctCompiler.target(int target) Set the target version.Set the target version.default JctCompilerJctCompiler.target(SourceVersion target) Set the target version.default JctCompilerJctCompiler.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.Methods in io.github.ascopes.jct.compilers with parameters of type JctCompilerModifier and TypeMethodDescriptionvoidJctCompilerConfigurer.configure(JctCompiler compiler) Apply configuration logic to the given compiler. -
Uses of JctCompiler in io.github.ascopes.jct.filemanagers
Methods in io.github.ascopes.jct.filemanagers with parameters of type JctCompilerModifier and TypeMethodDescriptionstatic JctFileManagerFactoryJctFileManagers.newJctFileManagerFactory(JctCompiler compiler) Create a new default implementation of a file manager factory. -
Uses of JctCompiler in io.github.ascopes.jct.filemanagers.config
Constructors in io.github.ascopes.jct.filemanagers.config with parameters of type JctCompilerModifierConstructorDescriptionInitialise 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
Methods in io.github.ascopes.jct.junit that return JctCompilerModifier and TypeMethodDescriptionprotected abstract JctCompilerAbstractCompilersProvider.initializeNewCompiler()Initialise a new compiler.protected JctCompilerJavacCompilersProvider.initializeNewCompiler()Methods in io.github.ascopes.jct.junit with parameters of type JctCompilerModifier and TypeMethodDescriptionabstract voidVersionStrategy.configureCompiler(JctCompiler compiler, int version) Set the given version on the compiler, according to the strategy in use.