Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absolutePath() - Method in class io.github.ascopes.jct.assertions.PathFileObjectAssert
-
Perform an assertion on the file object's absolute path.
- AbstractCompilersProvider - Class in io.github.ascopes.jct.junit
-
Base for defining a compiler-supplying arguments-provider for JUnit Jupiter parameterised test support.
- AbstractCompilersProvider() - Constructor for class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Initialise this provider.
- AbstractContainerGroupAssert<I,
C> - Class in io.github.ascopes.jct.assertions -
Base assertions that can be performed on a container group.
- AbstractContainerGroupAssert(C, Class<?>) - Constructor for class io.github.ascopes.jct.assertions.AbstractContainerGroupAssert
-
Initialize the container group assertions.
- AbstractEnumAssert<A,
E> - Class in io.github.ascopes.jct.assertions -
Abstract base class for an assertion on an
Enum
. - AbstractEnumAssert(E, Class<?>) - Constructor for class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Initialize this enum assertion.
- AbstractJavaFileObjectAssert<I,
A> - Class in io.github.ascopes.jct.assertions -
Abstract assertions for
Java file objects
. - AbstractJavaFileObjectAssert(A, Class<?>) - Constructor for class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Initialize this assertion.
- AbstractJctCompiler - Class in io.github.ascopes.jct.compilers
-
Common functionality for a compiler that can be overridden and that produces a
JctCompilationImpl
as the compilation result. - AbstractJctCompiler(String) - Constructor for class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Initialize this compiler.
- accept(JavacCompilerTest) - Method in class io.github.ascopes.jct.junit.JavacCompilersProvider
- accept(Workspace) - Method in interface io.github.ascopes.jct.workspaces.Workspace.ThrowingWorkspaceConsumer
-
Consume a workspace.
- addAnnotationProcessorOptions(Iterable<String>) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- addAnnotationProcessorOptions(Iterable<String>) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Add options to pass to any annotation processors.
- addAnnotationProcessorOptions(String...) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Add options to pass to any annotation processors.
- addAnnotationProcessorPathModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a module to the
annotation processor module path
. - addAnnotationProcessorPathPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a package to the
annotation processor path
. - addAnnotationProcessors(Iterable<? extends Processor>) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- addAnnotationProcessors(Iterable<? extends Processor>) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Add annotation processors to invoke.
- addAnnotationProcessors(Processor...) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Add annotation processors to invoke.
- addClassOutputModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a module to the
class outputs
. - addClassOutputPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a package to the
class outputs
. - addClassPathPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a package to the
class path
. - addCompilerOptions(Iterable<String>) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- addCompilerOptions(Iterable<String>) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Add command line options to pass to
javac
. - addCompilerOptions(String...) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Add command line options to pass to
javac
. - addFirst(JctFileManagerConfigurer) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurerChain
-
Add a configurer to the start of the chain.
- addLast(JctFileManagerConfigurer) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurerChain
-
Add a configurer to the end of the chain.
- addModule(String, Container) - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Add a container to this group.
- addModule(String, PathRoot) - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Add a path to this group for a module.
- addModule(JavaFileManager.Location, String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add an existing package root to this workspace and associate it with the given module name in the given location.
- addModulePathModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a module to the
module path
. - addPackage(Container) - Method in interface io.github.ascopes.jct.containers.OutputContainerGroup
-
Add a container to this group.
- addPackage(Container) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Add a container to this group.
- addPackage(PathRoot) - Method in interface io.github.ascopes.jct.containers.OutputContainerGroup
-
Add a path to this group.
- addPackage(PathRoot) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Add a path to this group.
- addPackage(JavaFileManager.Location, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add an existing package root to this workspace and associate it with the given location.
- addPath(JavaFileManager.Location, PathRoot) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Add a package-oriented path to a given location.
- addPaths(JavaFileManager.Location, Collection<? extends PathRoot>) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Add a collection of package-oriented paths to a given location.
- addSourceOutputModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a module to the
generated source outputs
. - addSourceOutputPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a package to the
generated source outputs
. - addSourcePathModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a module to the
module source path
. - addSourcePathPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Add a package to the
legacy source path
. - afterAll(ExtensionContext) - Method in class io.github.ascopes.jct.junit.JctExtension
- afterEach(ExtensionContext) - Method in class io.github.ascopes.jct.junit.JctExtension
- all() - Static method in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Return a set of all the debugger info flags.
- allFilesExist(Iterable<String>) - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Assert that all given files exist.
- allFilesExist(String...) - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Assert that all given files exist.
- also() - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Method that returns the object it is called upon to enable creating fluent-language builders.
- and() - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Method that returns the object it is called upon to enable creating fluent-language builders.
- ANNOTATION_PROCESSING_ONLY - Enum constant in enum io.github.ascopes.jct.compilers.CompilationMode
-
Skip compilation, but run any annotation processing that may be enabled.
- annotationProcessorDiscovery(AnnotationProcessorDiscovery) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- annotationProcessorDiscovery(AnnotationProcessorDiscovery) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set how to perform annotation processor discovery.
- AnnotationProcessorDiscovery - Enum in io.github.ascopes.jct.filemanagers
-
Mode for annotation processor discovery when no explicit processors are provided.
- annotationProcessorOptions(List<String>) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add annotation processor options.
- arguments() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Assert that the arguments passed to the compiler were the expected values.
- A simple example - Search tag in module io.github.ascopes.jct
- Section
- asJar() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Convert the given path root into a JAR and return the byte contents of the JAR.
- asJarFrom(PathRoot) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Take the directory, represented by the given
ManagedDirectory
, and convert it into a JAR file, that will be written to the file being created. - asJarFrom(Path) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Take the directory, represented by the given path, and convert it into a JAR file, that will be written to the file being created.
- assertThat(JctCompilation) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a compilation.
- assertThat(ModuleContainerGroup) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a module container group.
- assertThat(OutputContainerGroup) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on an output container group.
- assertThat(PackageContainerGroup) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a package container group.
- assertThat(TraceDiagnostic<? extends JavaFileObject>) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a diagnostic.
- assertThat(PathFileObject) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Path-based Java file object.
- assertThat(JavaFileObject) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Java file object.
- assertThat(Diagnostic.Kind) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a diagnostic kind.
- assertThat(JavaFileManager.Location) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a location.
- assertThat(JavaFileObject.Kind) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Java file object kind.
- assertThatCompilation(JctCompilation) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a compilation.
- assertThatContainerGroup(ModuleContainerGroup) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a module container group.
- assertThatContainerGroup(OutputContainerGroup) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on an output container group.
- assertThatContainerGroup(PackageContainerGroup) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a package container group.
- assertThatDiagnostic(TraceDiagnostic<? extends JavaFileObject>) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a diagnostic.
- assertThatDiagnostics(List<? extends TraceDiagnostic<? extends JavaFileObject>>) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a list of diagnostics.
- assertThatFileObject(PathFileObject) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Path-based Java file object.
- assertThatFileObject(JavaFileObject) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Java file object.
- assertThatKind(Diagnostic.Kind) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a diagnostic kind.
- assertThatKind(JavaFileObject.Kind) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Java file object kind.
- assertThatLocation(JavaFileManager.Location) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a location.
B
- beforeAll(ExtensionContext) - Method in class io.github.ascopes.jct.junit.JctExtension
- beforeEach(ExtensionContext) - Method in class io.github.ascopes.jct.junit.JctExtension
- binaryContent() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the binary content of the file.
- build() - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Build the list of command line options to use.
- buildFlags(JctFlagBuilder) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Build the list of flags from this compiler object using the flag builder.
C
- classLoader() - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Get assertions to perform on the class loader associated with this container group.
- ClassLoaderAssert - Class in io.github.ascopes.jct.assertions
-
Assertions to perform on a classloader.
- ClassLoaderAssert(ClassLoader) - Constructor for class io.github.ascopes.jct.assertions.ClassLoaderAssert
-
Initialize a new assertions object.
- classLoaderName() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the name of the classloader of the class in the stack trace frame.
- className() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the class name of the stack trace frame.
- classOutputModules() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing class module outputs, if it exists.
- classOutputPackages() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing class package outputs, if it exists.
- classPathPackages() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing the class path, if it exists.
- close() - Method in class io.github.ascopes.jct.diagnostics.TeeWriter
- close() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Close this file manager.
- close() - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Close the resource.
- close() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Attempt to close all resources in this workspace.
- code() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the code of the diagnostic.
- columnNumber() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the column number of the diagnostic.
- Common elements - Search tag in module io.github.ascopes.jct
- Section
- COMPILATION_AND_ANNOTATION_PROCESSING - Enum constant in enum io.github.ascopes.jct.compilers.CompilationMode
-
Run compilation and run the annotation processors, if configured.
- COMPILATION_ONLY - Enum constant in enum io.github.ascopes.jct.compilers.CompilationMode
-
Run compilation, but skip any annotation processing that may run.
- compilationMode(CompilationMode) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- compilationMode(CompilationMode) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the compilation mode to use for this compiler.
- compilationMode(CompilationMode) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Set the compilation mode to run under.
- CompilationMode - Enum in io.github.ascopes.jct.compilers
-
An enum representing the various types of compilation mode that a compiler can run under.
- compile(Workspace) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- compile(Workspace) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Invoke the compilation and return the compilation result.
- compile(Workspace, String...) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Invoke the compilation and return the compilation result.
- compile(Workspace, Collection<String>) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- compile(Workspace, Collection<String>) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Invoke the compilation and return the compilation result.
- compilerOptions(List<String>) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add additional command line options.
- configure(int, int, Class<? extends JctCompilerConfigurer<?>>[], VersionStrategy) - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Configure this provider with parameters from annotations.
- configure(JctCompiler) - Method in interface io.github.ascopes.jct.compilers.JctCompilerConfigurer
-
Apply configuration logic to the given compiler.
- configure(JctCompilerConfigurer<E>) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- configure(JctCompilerConfigurer<E>) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Apply a given configurer to this compiler.
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerAnnotationProcessorClassPathConfigurer
- configure(JctFileManager) - Method in interface io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurer
-
Configure the file manager implementation.
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurerChain
-
Apply each configurer to the given file manager in order.
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmClassPathConfigurer
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmClassPathModuleConfigurer
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmModulePathConfigurer
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmSystemModulesConfigurer
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerLoggingProxyConfigurer
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerRequiredLocationsConfigurer
- configure(JctFileManager) - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerWorkspaceConfigurer
- configureCompiler(JctCompiler, int) - Method in enum io.github.ascopes.jct.junit.VersionStrategy
-
Set the given version on the compiler, according to the strategy in use.
- configurers() - Element in annotation type io.github.ascopes.jct.junit.JavacCompilerTest
-
Get an array of compiler configurer classes to apply in-order before starting the test.
- Container - Interface in io.github.ascopes.jct.containers
-
Container that wraps a file path source of some description.
- ContainerGroup - Interface in io.github.ascopes.jct.containers
-
Base container group interface.
- contains(PathFileObject) - Method in interface io.github.ascopes.jct.containers.Container
-
Determine if this container contains the path file object.
- contains(PathFileObject) - Method in interface io.github.ascopes.jct.containers.ContainerGroup
-
Determine whether this group contains the given file object anywhere.
- contains(JavaFileManager.Location, FileObject) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Determine if the given file object resides in the given location.
- content() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the content of the file, using
UTF-8
encoding. - content(Charset) - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the content of the file.
- content(CharsetDecoder) - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the content of the file.
- copiedFromClassPath(ClassLoader, String) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy a resource from the given class loader into the file system.
- copiedFromClassPath(String) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy a resource from the class loader on the current thread into the file system.
- copiedFromFile(File) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy the contents from the given file into the file system.
- copiedFromFile(Path) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy the contents from the given path into the file system.
- copiedFromUrl(URL) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy the contents from the given URL into the file system.
- copyContainers(JavaFileManager.Location, JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Copy all containers from the first location to the second location.
- copyContentsFrom(File) - Method in interface io.github.ascopes.jct.workspaces.DirectoryBuilder
-
Copy the contents of the directory at the given path recursively into this directory.
- copyContentsFrom(String...) - Method in interface io.github.ascopes.jct.workspaces.DirectoryBuilder
-
Copy the contents of the directory at the given path recursively into this directory.
- copyContentsFrom(Path) - Method in interface io.github.ascopes.jct.workspaces.DirectoryBuilder
-
Copy the contents of the directory at the given path recursively into this directory.
- copyContentsFrom(List<String>) - Method in interface io.github.ascopes.jct.workspaces.DirectoryBuilder
-
Copy the contents of the directory at the given path recursively into this directory.
- createAnnotationProcessorPathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a module in the
annotation processor module path
. - createAnnotationProcessorPathPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a package in the
annotation processor path
. - createClassOutputModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a module in the
class outputs
. - createClassOutputPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a package in the
class outputs
. - createClassPathPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a package in the
class path
. - createCompilation(List<String>, JctFileManager, JavaCompiler, Collection<String>) - Method in interface io.github.ascopes.jct.compilers.JctCompilationFactory
-
Create a compilation.
- createCompiler() - Method in interface io.github.ascopes.jct.compilers.Jsr199CompilerFactory
-
Create a new instance of a JSR-199
JavaCompiler
. - createDirectory(String...) - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Create a directory builder for the given path in this RAM file system.
- createDirectory(List<String>) - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Create a directory builder for the given path in this RAM file system.
- createEmptyLocation(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Register an empty container for the given location to indicate to the compiler that the feature exists, but has no configured paths.
- createFile(String...) - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Create a file builder for the given path in this RAM file system.
- createFile(List<String>) - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Create a file builder for the given path in this RAM file system.
- createFileManager(Workspace) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManagerFactory
-
Create and configure a file manager for a workspace.
- createFlagBuilder() - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilderFactory
-
Create a new flag builder.
- createModule(JavaFileManager.Location, String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a new test directory for a package root and associate it with the given module name in the given location.
- createModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a module in the
module path
. - createPackage(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a new test directory for a package root and associate it with the given location.
- createSourceOutputModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a module in the
generated source outputs
. - createSourceOutputPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a package in the
generated source outputs
. - createSourcePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a module in the
module source path
. - createSourcePathPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Create a package in the
source path
. - customWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
across all diagnostics that have theDiagnostic.Kind.WARNING
kind.
D
- debuggingInfo(Set<DebuggingInfo>) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- debuggingInfo(Set<DebuggingInfo>) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the debugging info level to use.
- debuggingInfo(Set<DebuggingInfo>) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add the debugging info flags.
- DebuggingInfo - Enum in io.github.ascopes.jct.compilers
-
An enum representing the various types of debugger info that can be included in compilations.
- DEFAULT_ANNOTATION_PROCESSOR_DISCOVERY - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for how to apply annotation processor discovery when no processors are explicitly defined (
AnnotationProcessorDiscovery.INCLUDE_DEPENDENCIES
). - DEFAULT_COMPILATION_MODE - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for the compilation mode to use (
CompilationMode.COMPILATION_AND_ANNOTATION_PROCESSING
). - DEFAULT_DEBUGGING_INFO - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default debugging info to include in the compilation (all possible info).
- DEFAULT_DIAGNOSTIC_LOGGING_MODE - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for logging diagnostics (
LoggingMode.ENABLED
). - DEFAULT_FAIL_ON_WARNINGS - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for displaying warnings as errors (
false
). - DEFAULT_FILE_MANAGER_LOGGING_MODE - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for logging file manager operations (
LoggingMode.DISABLED
). - DEFAULT_FIX_JVM_MODULE_PATH_MISMATCH - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for fixing modules being placed on the classpath by mistake (
true
). - DEFAULT_INHERIT_CLASS_PATH - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for inclusion of the current class path (
true
). - DEFAULT_INHERIT_MODULE_PATH - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for inclusion of the current module path (
true
). - DEFAULT_INHERIT_SYSTEM_MODULE_PATH - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for inclusion of the system module path (
true
). - DEFAULT_LOCALE - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for locale (
Locale.ROOT
). - DEFAULT_LOG_CHARSET - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default charset to use for compiler logs (
StandardCharsets.UTF_8
). - DEFAULT_PARAMETER_INFO_ENABLED - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default preference for including reflective parameter information in compiled classes (
true
). - DEFAULT_PREVIEW_FEATURES - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for preview features (
false
). - DEFAULT_SHOW_DEPRECATION_WARNINGS - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for deprecation warnings (
true
). - DEFAULT_SHOW_WARNINGS - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for displaying warnings (
true
). - DEFAULT_VERBOSE - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Default setting for verbose logging (
false
). - defaultStrategy() - Static method in enum io.github.ascopes.jct.workspaces.PathStrategy
-
Determine the default strategy to fall back onto.
- delete() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Attempt to delete the file.
- DiagnosticKindAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for an individual diagnostic kind.
- DiagnosticKindAssert(Diagnostic.Kind) - Constructor for class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Initialize this assertion type.
- diagnosticLoggingMode(LoggingMode) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- diagnosticLoggingMode(LoggingMode) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set how to handle diagnostic capture.
- diagnostics() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions for diagnostics.
- DirectoryBuilder - Interface in io.github.ascopes.jct.workspaces
-
Chainable builder for creating directories.
- DISABLED - Enum constant in enum io.github.ascopes.jct.filemanagers.AnnotationProcessorDiscovery
-
Discovery is disabled.
- DISABLED - Enum constant in enum io.github.ascopes.jct.filemanagers.LoggingMode
-
Do not log anything.
E
- ENABLED - Enum constant in enum io.github.ascopes.jct.filemanagers.AnnotationProcessorDiscovery
-
Discovery is enabled using the provided processor paths.
- ENABLED - Enum constant in enum io.github.ascopes.jct.filemanagers.LoggingMode
-
Enable basic logging.
- endPosition() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the end position of the diagnostic.
- equals(Object) - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- equals(Object) - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine if this object equals another.
- equals(Object) - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Determine if two path roots are equivalent.
- errors() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
across all diagnostics that have theDiagnostic.Kind.ERROR
kind. - excludingKinds(Iterable<Diagnostic.Kind>) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
that contains diagnostics corresponding to none of the givenkinds
. - excludingKinds(Diagnostic.Kind...) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
that contains diagnostics corresponding to none of the givenkinds
. - extension() - Method in class io.github.ascopes.jct.assertions.JavaFileObjectKindAssert
-
Perform an assertion on the file extension of the kind.
F
- failOnWarnings(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- failOnWarnings(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether to enable treating warnings as errors or not.
- failOnWarnings(boolean) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Set whether to treat warnings as errors or not.
- FileBuilder - Interface in io.github.ascopes.jct.workspaces
-
Chainable builder for creating individual files.
- fileDoesNotExist(String...) - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Assert that the given file does not exist.
- fileExists(String...) - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Assert that the given file exists.
- fileManagerLoggingMode(LoggingMode) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- fileManagerLoggingMode(LoggingMode) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set how to handle logging calls to underlying file managers.
- fileName() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the filename of the stack trace frame.
- filteringBy(Predicate<TraceDiagnostic<? extends JavaFileObject>>) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Filter diagnostics by a given predicate and return an assertion object that applies to all diagnostics that match that predicate.
- filteringByKinds(Iterable<Diagnostic.Kind>) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
that contains diagnostics corresponding to any of the givenkinds
. - filteringByKinds(Diagnostic.Kind...) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
that contains diagnostics corresponding to any of the givenkinds
. - fixJvmModulePathMismatch(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- fixJvmModulePathMismatch(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get whether we will attempt to fix modules appearing on the classpath, or non-modules appearing on the module path.
- flush() - Method in class io.github.ascopes.jct.diagnostics.TeeWriter
- flush() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Flush this file manager.
- fromInputStream(InputStream) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy the contents from the given input stream into the file system.
G
- getAbsolutePath() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the absolute path of this file object.
- getAccessLevel() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the class access level, where appropriate.
- getAllPaths() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get an immutable copy of the current paths to operate on.
- getAnnotationProcessorDiscovery() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getAnnotationProcessorDiscovery() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get how to perform annotation processor discovery.
- getAnnotationProcessorModulePath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the module container group for the annotation processor module path.
- getAnnotationProcessorModulePathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
annotation processor module path
. - getAnnotationProcessorOptions() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getAnnotationProcessorOptions() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get an immutable snapshot view of the current annotation processor options that are set.
- getAnnotationProcessorPath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the package container group for the annotation processor path.
- getAnnotationProcessorPathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
annotation processor path
. - getAnnotationProcessorPathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path roots for the
annotation processor module path
. - getAnnotationProcessorPathModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for the
annotation processor module path
. - getAnnotationProcessorPathPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path roots for the
annotation processor path
. - getAnnotationProcessors() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getAnnotationProcessors() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get an immutable snapshot view of the current annotation processors that are explicitly set to be run, in the order that they were provided to the compiler.
- getArguments() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the command line arguments that were passed to the compiler.
- getBinaryName() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the inferred binary name of the file object.
- getCharContent(boolean) - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Read the character content of the file into memory and decode it using the default character set.
- getClassLoader() - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a class loader for this group of containers.
- getClassLoader(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the class loader for loading classes for the given location.
- getClassOutputGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
class outputs
. - getClassOutputModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for
class outputs
for the given module name. - getClassOutputModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for
class outputs
. - getClassOutputPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the non-module path roots for
class outputs
. - getClassOutputs() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the output container group for class outputs.
- getClassPath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the package container group for the class path.
- getClassPathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
class path
. - getClassPathPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path roots for the
class path
. - getCode() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getColumnNumber() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getCompilationFactory() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get the compilation factory to use for building a compilation.
- getCompilationMode() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getCompilationMode() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the compilation mode that is in use.
- getCompilationUnits() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the compilation units used in the compilation.
- getCompilerFactory() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get the JSR-199 compiler factory to use for initialising an internal compiler.
- getCompilerOptions() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getCompilerOptions() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get an immutable snapshot view of the current compiler options that are set.
- getContent() - Method in class io.github.ascopes.jct.diagnostics.TeeWriter
-
Get the content of the internal buffer.
- getDebuggingInfo() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getDebuggingInfo() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the debugging info that is enabled.
- getDefaultRelease() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get the default release to use if no release or target version is specified.
- getDefaultRelease() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the default release to use if no release or target version is specified.
- getDiagnosticLoggingMode() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getDiagnosticLoggingMode() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the current diagnostic logging mode.
- getDiagnostics() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the diagnostics that were reported by the compilation, in the order that they were reported.
- getDiagnostics() - Method in class io.github.ascopes.jct.diagnostics.TracingDiagnosticListener
-
Get a copy of the queue containing all the diagnostics that have been detected.
- getEffectiveRelease() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getEffectiveRelease() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the effective release to use for the actual compilation.
- getEffectiveRelease() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the associated effective release.
- getEndPosition() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getFile(String...) - Method in interface io.github.ascopes.jct.containers.Container
-
Find the physical path to a given string file path.
- getFile(String...) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Find the first occurrence of a given path to a file in packages or modules.
- getFileForInput(String, String) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
FileObject
for reading, if it exists. - getFileForInput(String, String) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
FileObject
that can have content read from it. - getFileForInput(JavaFileManager.Location, String, String) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a file for input operations.
- getFileForOutput(String, String) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
FileObject
for writing. - getFileForOutput(String, String) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
FileObject
that can have content written to it for the given file. - getFileForOutput(JavaFileManager.Location, String, String, FileObject) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a file for output operations.
- getFileManager() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the file manager that was used to store and manage files.
- getFileManagerFactory() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get the file manager factory to use for building AbstractJctCompiler file manager during compilation.
- getFileManagerLoggingMode() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getFileManagerLoggingMode() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the current file manager logging mode.
- getFlagBuilderFactory() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get the flag builder factory to use for building flags.
- getInnerPathRoot() - Method in interface io.github.ascopes.jct.containers.Container
-
Get the inner path root of the container.
- getInstance() - Static method in class io.github.ascopes.jct.repr.LocationRepresentation
-
Get an instance of this location representation.
- getInstance() - Static method in class io.github.ascopes.jct.repr.StackTraceRepresentation
-
Get an instance of this stack trace representation.
- getInstance() - Static method in class io.github.ascopes.jct.repr.TraceDiagnosticListRepresentation
-
Get an instance of this diagnostic collection representation.
- getInstance() - Static method in class io.github.ascopes.jct.repr.TraceDiagnosticRepresentation
-
Get an instance of this diagnostic representation.
- getJavaFileForInput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
JavaFileObject
for reading, if it exists. - getJavaFileForInput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
JavaFileObject
that can have content read from it for the given file. - getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a Java file for input operations.
- getJavaFileForOutput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
JavaFileObject
for writing. - getJavaFileForOutput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
JavaFileObject
that can have content written to it for the given class. - getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a Java file for output operations.
- getKind() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getKind() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the kind of the file.
- getLastModified() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine when the file was last modified.
- getLineNumber() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getLocale() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getLocale() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the output locale.
- getLocation() - Method in interface io.github.ascopes.jct.containers.Container
-
Get the location of this container.
- getLocation() - Method in interface io.github.ascopes.jct.containers.ContainerGroup
-
Get the location of this container group.
- getLocation() - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Get the module-oriented location.
- getLocation() - Method in interface io.github.ascopes.jct.containers.OutputContainerGroup
-
Get the output-oriented location.
- getLocation() - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get the package-oriented location that this group of paths is for.
- getLocation() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the location of this path file object.
- getLocationForModule(JavaFileManager.Location, String) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location for a named module within the given location.
- getLocationForModule(JavaFileManager.Location, JavaFileObject) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location for the module holding a given file object within the given location.
- getLocationsForModules() - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Get all locations that are modules.
- getLogCharset() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getLogCharset() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the charset being used to write compiler logs with.
- getMessage(Locale) - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getModule(String) - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Find the package container group for the given module.
- getModule(JavaFileManager.Location, String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the collection of path roots associated with the given module.
- getModuleContainerGroup(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the container group for the given module-oriented location.
- getModuleContainerGroups() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a collection of all module container groups in this file manager.
- getModuleFinder() - Method in interface io.github.ascopes.jct.containers.Container
-
Get a module finder for this container.
- getModuleName() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
-
Get the module name.
- getModulePath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the module container group for the module path.
- getModulePathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
module path
. - getModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path roots for the
module path
. - getModulePathModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for the
module paths
. - getModules() - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Get the module container impl in this group.
- getModules(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the collection of modules associated with the given location.
- getModuleSourcePath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the module container group for the module source path.
- getModuleSourcePathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
module source path
. - getName() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getName() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the friendly printable name of this compiler object.
- getName() - Method in interface io.github.ascopes.jct.containers.Container
-
Get the name of this container for human consumption.
- getName() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- getName() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the file name as a string.
- getName() - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Get the identifying name of the temporary file system.
- getNativeHeaderOutputs() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the output container group for the native header file outputs.
- getNestingKind() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine the class nesting kind, where appropriate.
- getOrCreateModule(String) - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Get the
PackageContainerGroup
for a given module name, creating it if it does not yet exist. - getOutputContainerGroup(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the container group for the given output-oriented location.
- getOutputContainerGroups() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a collection of all output container groups in this file manager.
- getOutputLines() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the lines of output produced by the compiler, if any were captured.
- getPackageContainerGroup(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the container group for the given package-oriented location.
- getPackageContainerGroups() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get a collection of all package container groups in this file manager.
- getPackages() - Method in interface io.github.ascopes.jct.containers.OutputContainerGroup
-
Get the package containers in this group.
- getPackages() - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get the package containers in this group.
- getPackages(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the collection of path roots associated with the given location.
- getParent() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
-
Get the parent location.
- getParent() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Get the parent path root, if there is one.
- getPatchModulePath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the module container group for the patch module path.
- getPath() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Get the
Java NIO Path
for this path-like object. - getPathRoot() - Method in interface io.github.ascopes.jct.containers.Container
-
Get the path root of the container.
- getPathStrategy() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path strategy in use.
- getPlatformClassPath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the package container group for the platform class path (a.k.a. the bootstrap class path).
- getPosition() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getRelativePath() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the relative path of this file object.
- getRelease() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getRelease() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the current release version that is set, or
null
if left to the compiler to decide. - getRelease() - Method in interface io.github.ascopes.jct.containers.ContainerGroup
-
Get the effective Java release being targeted by the compiler that owns this container group.
- getRootPath() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the root path that the package containing this file is nested within.
- getServiceLoader(Class<S>) - Method in interface io.github.ascopes.jct.containers.ContainerGroup
-
Get a service loader for the given service class, or throw an exception if the operation is not supported.
- getSource() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getSource() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the current source version that is set, or
null
if left to the compiler to decide. - getSource() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getSourceOutputGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
source outputs
. - getSourceOutputModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for
source outputs
for the given module name. - getSourceOutputModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for
source outputs
. - getSourceOutputPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the non-module path roots for
source outputs
. - getSourceOutputs() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the output container group for source outputs.
- getSourcePath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the package container group for the source path.
- getSourcePathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Get the location holding the
source path
. - getSourcePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path roots for the
module source path
. - getSourcePathModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the module path roots for the
module source paths
. - getSourcePathPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Get the path roots for the
source path
. - getStackTrace() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
-
Get the stacktrace of where the diagnostic was written from.
- getStartPosition() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getSystemModules() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the module container group for all system modules that are part of the JDK distribution.
- getTarget() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- getTarget() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get the current target version that is set, or
null
if left to the compiler default. - getThreadId() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
-
Get the thread ID for the thread that created this diagnostic.
- getThreadName() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
-
Get the thread name for the thread that created this diagnostic.
- getTimestamp() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
-
Get the timestamp that the diagnostic was created at.
- getUpgradeModulePath() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the module container group for the upgrade module path.
- getUri() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Get a URI representation of this path-like object.
- getUrl() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Get a URL representation of this path-like object.
H
- handleOption(String, Iterator<String>) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Handles one option.
- hashCode() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- hashCode() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine the hash code for this object.
- hashCode() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Determine the hash-code for the object.
- hasLocation(ModuleLocation) - Method in interface io.github.ascopes.jct.containers.ModuleContainerGroup
-
Determine if this group contains a given module.
- hasLocation(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Determines if a location is known to this file manager.
- hasNoCustomWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.WARNING
diagnostics. - hasNoDiagnosticsOfKinds(Iterable<Diagnostic.Kind>) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no diagnostics matching any of the given kinds.
- hasNoDiagnosticsOfKinds(Diagnostic.Kind...) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no diagnostics matching any of the given kinds.
- hasNoErrors() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.ERROR
diagnostics. - hasNoErrorsOrWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.ERROR
,Diagnostic.Kind.WARNING
, orDiagnostic.Kind.MANDATORY_WARNING
diagnostics. - hasNoMandatoryWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.MANDATORY_WARNING
diagnostics. - hasNoNotes() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.NOTE
diagnostics. - hasNoOtherDiagnostics() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.OTHER
diagnostics. - hasNoWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.WARNING
orDiagnostic.Kind.MANDATORY_WARNING
diagnostics.
I
- INCLUDE_DEPENDENCIES - Enum constant in enum io.github.ascopes.jct.filemanagers.AnnotationProcessorDiscovery
-
Discovery is enabled, and will also scan any dependencies in the classpath or module path.
- inferBinaryName(PathFileObject) - Method in interface io.github.ascopes.jct.containers.Container
-
Infer the binary name of a given Java file object.
- inferBinaryName(PathFileObject) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Try to infer the binary name of a given file object.
- inferBinaryName(JavaFileManager.Location, JavaFileObject) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Infers a binary name of a file object based on a package-oriented location.
- inferModuleName(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Infer the name of the module from its location, as returned by
getLocationForModule
orlistModuleLocations
. - inheritClassPath(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- inheritClassPath(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether the class path is inherited from the active JVM or not.
- inheritModulePath(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- inheritModulePath(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether the module path is inherited from the active JVM or not.
- inheritSystemModulePath(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- inheritSystemModulePath(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether the system module path is inherited from the active JVM or not.
- initializeNewCompiler() - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Initialise a new compiler.
- initializeNewCompiler() - Method in class io.github.ascopes.jct.junit.JavacCompilersProvider
- io.github.ascopes.jct - module io.github.ascopes.jct
-
A framework for performing exhaustive integration testing against Java compilers in modern Java libraries, with a focus on full JPMS support.
- io.github.ascopes.jct.assertions - package io.github.ascopes.jct.assertions
-
AssertJ extensions for testing the results of compilations.
- io.github.ascopes.jct.compilers - package io.github.ascopes.jct.compilers
-
APIs for performing compiler passes across user-defined workspaces.
- io.github.ascopes.jct.containers - package io.github.ascopes.jct.containers
-
APIs for representing the various file management locations across multiple file system implementations.
- io.github.ascopes.jct.diagnostics - package io.github.ascopes.jct.diagnostics
-
Support for collecting and representing diagnostics from compiler implementations.
- io.github.ascopes.jct.ex - package io.github.ascopes.jct.ex
-
Common exceptions used within this API.
- io.github.ascopes.jct.filemanagers - package io.github.ascopes.jct.filemanagers
-
APIs that integrate with the JSR-199 FileManager APIs.
- io.github.ascopes.jct.filemanagers.config - package io.github.ascopes.jct.filemanagers.config
-
Reusable components for setting up JSR-199 file managers.
- io.github.ascopes.jct.junit - package io.github.ascopes.jct.junit
-
Integrations with Junit Jupiter APIs.
- io.github.ascopes.jct.repr - package io.github.ascopes.jct.repr
-
Representation facilities for AssertJ integration.
- io.github.ascopes.jct.workspaces - package io.github.ascopes.jct.workspaces
-
Workspace components to hold complex source code structures within memory.
- isAnyOf(E...) - Method in class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Assert that the value is one of the given values.
- isAnyOfElements(Collection<E>) - Method in class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Assert that the value is one of the given values.
- isClass() - Method in class io.github.ascopes.jct.assertions.JavaFileObjectKindAssert
-
Assert that the kind is a
JavaFileObject.Kind.CLASS
. - isClosed() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Determine if the workspace is closed or not.
- isCustomWarning() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is
Diagnostic.Kind.WARNING
. - isEmpty() - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Determine if this group has no paths registered.
- isEnabled() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerAnnotationProcessorClassPathConfigurer
- isEnabled() - Method in interface io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurer
-
Determine if this configurer is enabled or not.
- isEnabled() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmClassPathConfigurer
- isEnabled() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmClassPathModuleConfigurer
- isEnabled() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmModulePathConfigurer
- isEnabled() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmSystemModulesConfigurer
- isEnabled() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerLoggingProxyConfigurer
- isError() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is
Diagnostic.Kind.ERROR
. - isFailOnWarnings() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isFailOnWarnings() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Determine if warnings were treated as errors.
- isFailOnWarnings() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Determine whether warnings are being treated as errors or not.
- isFailure() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Assert that the compilation was a failure.
- isFailure() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Determine if the compilation was a failure or not.
- isFixJvmModulePathMismatch() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isFixJvmModulePathMismatch() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get whether we will attempt to fix modules appearing on the classpath, or non-modules appearing on the module path.
- isHtml() - Method in class io.github.ascopes.jct.assertions.JavaFileObjectKindAssert
-
Assert that the kind is an
HTML source
. - isInheritClassPath() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isInheritClassPath() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get whether the class path is inherited from the active JVM or not.
- isInheritModulePath() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isInheritModulePath() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get whether the module path is inherited from the active JVM or not.
- isInheritSystemModulePath() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isInheritSystemModulePath() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Get whether the system module path is inherited from the active JVM or not.
- isLoggingEnabled() - Method in class io.github.ascopes.jct.diagnostics.TracingDiagnosticListener
-
Determine if logging is enabled.
- isMandatoryWarning() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is
Diagnostic.Kind.MANDATORY_WARNING
. - isModuleOrientedLocation() - Method in class io.github.ascopes.jct.assertions.LocationAssert
-
Assert that the location is
module-oriented
. - isModuleOrientedLocation() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- isNameCompatible(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine if a given simple name and file kind are compatible with this file object.
- isNoneOf(E...) - Method in class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Assert that the value is none of the given values.
- isNoneOfElements(Collection<E>) - Method in class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Assert that the value is one of the given values.
- isNote() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is
Diagnostic.Kind.NOTE
. - isNotModuleOrientedLocation() - Method in class io.github.ascopes.jct.assertions.LocationAssert
-
Assert that the location is not
module-oriented
. - isNotOutputLocation() - Method in class io.github.ascopes.jct.assertions.LocationAssert
-
Assert that the location is not an
output location
. - isOther() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is
Diagnostic.Kind.OTHER
. - isOther() - Method in class io.github.ascopes.jct.assertions.JavaFileObjectKindAssert
-
Assert that the kind is
some other unknown kind
. - isOutputLocation() - Method in class io.github.ascopes.jct.assertions.LocationAssert
-
Assert that the location is an
output location
. - isOutputLocation() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- isParameterInfoEnabled() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isParameterInfoEnabled() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Determine if including reflective parameter info is enabled or not.
- isPreviewFeatures() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isPreviewFeatures() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Determine whether preview features are enabled or not.
- isSameFile(FileObject, FileObject) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Determine if the two file objects are the same file.
- isShowDeprecationWarnings() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isShowDeprecationWarnings() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Determine whether deprecation warnings are enabled or not.
- isShowWarnings() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isShowWarnings() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Determine whether warnings are enabled or not.
- isSource() - Method in class io.github.ascopes.jct.assertions.JavaFileObjectKindAssert
-
Assert that the kind is a
JavaFileObject.Kind.SOURCE
. - isStackTraceReportingEnabled() - Method in class io.github.ascopes.jct.diagnostics.TracingDiagnosticListener
-
Determine if stack trace reporting is enabled.
- isSuccessful() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Assert that the compilation was successful.
- isSuccessful() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Determine if the compilation was successful or not.
- isSuccessfulWithoutWarnings() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Assert that the compilation was successful and had no warnings.
- isVerbose() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- isVerbose() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Determine whether verbose logging is enabled or not.
- isWarning() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is either
Diagnostic.Kind.WARNING
orDiagnostic.Kind.MANDATORY_WARNING
. - isWarningOrError() - Method in class io.github.ascopes.jct.assertions.DiagnosticKindAssert
-
Assert that the kind is
Diagnostic.Kind.ERROR
,Diagnostic.Kind.WARNING
, orDiagnostic.Kind.MANDATORY_WARNING
.
J
- JavacCompilersProvider - Class in io.github.ascopes.jct.junit
-
Argument provider for the
JavacCompilerTest
annotation. - JavacCompilersProvider() - Constructor for class io.github.ascopes.jct.junit.JavacCompilersProvider
-
Initialise the provider.
- JavacCompilerTest - Annotation Type in io.github.ascopes.jct.junit
-
Annotation that can be applied to a JUnit parameterized test to invoke that test case across multiple compilers, each configured to a specific version in a range of Java language versions.
- JavaFileObjectAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for
Java file objects
. - JavaFileObjectAssert(JavaFileObject) - Constructor for class io.github.ascopes.jct.assertions.JavaFileObjectAssert
-
Create a new instance of this assertion object.
- JavaFileObjectKindAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for an individual
Java file object kind
. - JavaFileObjectKindAssert(JavaFileObject.Kind) - Constructor for class io.github.ascopes.jct.assertions.JavaFileObjectKindAssert
-
Initialize this assertion type.
- JctAssertions - Class in io.github.ascopes.jct.assertions
-
Helper class to provide fluent creation of assertions for compilations.
- JctCompilation - Interface in io.github.ascopes.jct.compilers
-
The result of a compilation.
- JctCompilationAssert - Class in io.github.ascopes.jct.assertions
-
Assertions that apply to a
JctCompilation
. - JctCompilationAssert(JctCompilation) - Constructor for class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Initialize this compilation assertion.
- JctCompilationFactory - Interface in io.github.ascopes.jct.compilers
-
Factory for producing
JctCompilation
objects by performing a physical compilation with a compiler. - JctCompiler - Interface in io.github.ascopes.jct.compilers
-
Base definition of a compiler that can be configured to perform a compilation run against sources.
- JctCompilerConfigurer<E> - Interface in io.github.ascopes.jct.compilers
-
Function representing a configuration operation that can be applied to a compiler.
- JctCompilerException - Exception Class in io.github.ascopes.jct.ex
-
Exception that is thrown if the compiler fails to run and throws an unhandled exception.
- JctCompilerException(String) - Constructor for exception class io.github.ascopes.jct.ex.JctCompilerException
-
Initialize the error.
- JctCompilerException(String, Throwable) - Constructor for exception class io.github.ascopes.jct.ex.JctCompilerException
-
Initialize the error.
- JctCompilers - Class in io.github.ascopes.jct.compilers
-
Helpers to create new compiler instances.
- JctException - Exception Class in io.github.ascopes.jct.ex
-
Base for any exceptions thrown by JCT.
- JctExtension - Class in io.github.ascopes.jct.junit
- JctExtension() - Constructor for class io.github.ascopes.jct.junit.JctExtension
-
Initialise this extension.
- JctFileManager - Interface in io.github.ascopes.jct.filemanagers
-
Extension around a
JavaFileManager
that allows adding ofPathRoot
objects to the manager. - JctFileManagerAnnotationProcessorClassPathConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that makes annotation processors in the classpath accessible to the annotation processor path.
- JctFileManagerAnnotationProcessorClassPathConfigurer(JctCompiler) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerAnnotationProcessorClassPathConfigurer
-
Initialise the configurer with the desired compiler.
- JctFileManagerConfigurer - Interface in io.github.ascopes.jct.filemanagers.config
-
Interface for a
JctFileManager
configurer. - JctFileManagerConfigurerChain - Class in io.github.ascopes.jct.filemanagers.config
-
A collection representing a chain of configurers to apply to a file manager.
- JctFileManagerConfigurerChain() - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurerChain
-
Initialise this chain.
- JctFileManagerFactory - Interface in io.github.ascopes.jct.filemanagers
-
Factory interface for building a file manager object.
- JctFileManagerJvmClassPathConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that applies the running JVM's classpath to the file manager.
- JctFileManagerJvmClassPathConfigurer(JctCompiler) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmClassPathConfigurer
-
Initialise the configurer with the desired compiler.
- JctFileManagerJvmClassPathModuleConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that detects and applies classpath paths that contain JPMS modules to the module path.
- JctFileManagerJvmClassPathModuleConfigurer(JctCompiler) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmClassPathModuleConfigurer
-
Initialise the configurer with the desired compiler.
- JctFileManagerJvmModulePathConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that applies the running JVM's module path to the file manager.
- JctFileManagerJvmModulePathConfigurer(JctCompiler) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmModulePathConfigurer
-
Initialise the configurer with the desired compiler.
- JctFileManagerJvmSystemModulesConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that applies the running JVM's system modules to the file manager.
- JctFileManagerJvmSystemModulesConfigurer(JctCompiler) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmSystemModulesConfigurer
-
Initialise the configurer with the desired compiler.
- JctFileManagerLoggingProxyConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
File manager configurer that optionally wraps the file manager in a logging proxy that outputs interaction details to the console logs.
- JctFileManagerLoggingProxyConfigurer(JctCompiler) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerLoggingProxyConfigurer
-
Initialise this configurer.
- JctFileManagerRequiredLocationsConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that creates missing required locations to the file manager.
- JctFileManagerRequiredLocationsConfigurer(Workspace) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerRequiredLocationsConfigurer
-
Initialise this configurer.
- JctFileManagers - Class in io.github.ascopes.jct.filemanagers
-
Helpers to create instances of default implementations for file managers.
- JctFileManagerWorkspaceConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Configurer for a file manager that applies the given workspace.
- JctFileManagerWorkspaceConfigurer(Workspace) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerWorkspaceConfigurer
-
Initialise the configurer with the desired workspace.
- JctFlagBuilder - Interface in io.github.ascopes.jct.compilers
-
Interface for defining a common flag builder for compilers.
- JctFlagBuilderFactory - Interface in io.github.ascopes.jct.compilers
-
Factory that creates a flag builder.
- JctIllegalInputException - Exception Class in io.github.ascopes.jct.ex
-
Exception raised if an illegal input is provided to a method.
- JctIllegalInputException(String) - Constructor for exception class io.github.ascopes.jct.ex.JctIllegalInputException
-
Initialise the exception.
- JctIllegalInputException(String, Throwable) - Constructor for exception class io.github.ascopes.jct.ex.JctIllegalInputException
-
Initialise the exception with a cause.
- JctJunitConfigurerException - Exception Class in io.github.ascopes.jct.ex
-
An exception that is thrown when a compiler configurer cannot be initialised successfully using the JCT JUnit parameterised test API.
- JctJunitConfigurerException(String) - Constructor for exception class io.github.ascopes.jct.ex.JctJunitConfigurerException
-
Initialise the exception.
- JctJunitConfigurerException(String, Throwable) - Constructor for exception class io.github.ascopes.jct.ex.JctJunitConfigurerException
-
Initialise the exception.
- JctNotFoundException - Exception Class in io.github.ascopes.jct.ex
-
Exception raised if an element is not found.
- JctNotFoundException(String) - Constructor for exception class io.github.ascopes.jct.ex.JctNotFoundException
-
Initialise the exception.
- JctNotImplementedException - Exception Class in io.github.ascopes.jct.ex
-
Exception that is raised if an internal feature is not implemented.
- JctNotImplementedException(String) - Constructor for exception class io.github.ascopes.jct.ex.JctNotImplementedException
-
Initialise the exception.
- Jsr199CompilerFactory - Interface in io.github.ascopes.jct.compilers
-
Factory that creates an instance of a JSR-199 compiler.
- just(DebuggingInfo...) - Static method in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Return a set of the given debugger info flags.
K
- kind() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Perform an assertion on the file object kind.
- kind() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the kind of the diagnostic.
L
- lastModified() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the last modified timestamp.
- lineNumber() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the line number of the stack trace frame.
- lineNumber() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the line number of the diagnostic.
- LINES - Enum constant in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Include line numbers.
- list() - Method in class io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurerChain
-
Get an immutable copy of the list of configurers.
- list(JavaFileManager.Location, String, Set<JavaFileObject.Kind>, boolean) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
List all file objects in the given location matching the given criteria.
- listAllFiles() - Method in interface io.github.ascopes.jct.containers.Container
-
List all files within this container.
- listAllFiles() - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
List all files recursively in this container group, returning a multimap of each container and all files within that container.
- listFileObjects(String, Set<? extends JavaFileObject.Kind>, boolean) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
List all the file objects that match the given criteria in this group.
- listFileObjects(String, Set<? extends JavaFileObject.Kind>, boolean, Collection<JavaFileObject>) - Method in interface io.github.ascopes.jct.containers.Container
-
List all the file objects that match the given criteria in this group.
- listLocationsForModules(JavaFileManager.Location) - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
List all module-based locations for the given module-oriented or output location.
- locale(Locale) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- locale(Locale) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the output locale.
- location() - Method in class io.github.ascopes.jct.assertions.AbstractContainerGroupAssert
-
Get assertions to perform on the location of this container group.
- LocationAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for an individual
location
. - LocationAssert(JavaFileManager.Location) - Constructor for class io.github.ascopes.jct.assertions.LocationAssert
-
Initialize this assertion type.
- LocationRepresentation - Class in io.github.ascopes.jct.repr
-
Representation for a
location
. - logCharset(Charset) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- logCharset(Charset) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the charset being used to write compiler logs with.
- LoggingMode - Enum in io.github.ascopes.jct.filemanagers
-
Options for how to handle logging on special internal components.
M
- Managed - Annotation Type in io.github.ascopes.jct.junit
-
Annotation for a
Workspace
field in a test class. - ManagedDirectory - Interface in io.github.ascopes.jct.workspaces
-
Base interface for a managed directory, including the interfaces for creating fluent-style builders.
- mandatoryWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
across all diagnostics that have theDiagnostic.Kind.MANDATORY_WARNING
kind. - maxSupportedVersion() - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Get the maximum supported compiler version.
- maxSupportedVersion() - Method in class io.github.ascopes.jct.junit.JavacCompilersProvider
- maxVersion() - Element in annotation type io.github.ascopes.jct.junit.JavacCompilerTest
-
Maximum version to use (inclusive).
- message() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the message of the diagnostic, assuming the default locale.
- message(Locale) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the message of the diagnostic.
- methodName() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the method name of the stack trace frame.
- minSupportedVersion() - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Get the minimum supported compiler version.
- minSupportedVersion() - Method in class io.github.ascopes.jct.junit.JavacCompilersProvider
- minVersion() - Element in annotation type io.github.ascopes.jct.junit.JavacCompilerTest
-
Minimum version to use (inclusive).
- ModuleContainerGroup - Interface in io.github.ascopes.jct.containers
-
A container group implementation that holds zero or more modules.
- ModuleContainerGroupAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for module container groups.
- ModuleContainerGroupAssert(ModuleContainerGroup) - Constructor for class io.github.ascopes.jct.assertions.ModuleContainerGroupAssert
-
Initialize the container group assertions.
- moduleDoesNotExist(String) - Method in class io.github.ascopes.jct.assertions.ModuleContainerGroupAssert
-
Assert that the given module does not exist.
- moduleExists(String) - Method in class io.github.ascopes.jct.assertions.ModuleContainerGroupAssert
-
Assert that the given module exists and then return assertions to perform on that module.
- moduleGroup(JavaFileManager.Location) - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Perform assertions on the given module group, if it has been configured.
- ModuleLocation - Class in io.github.ascopes.jct.filemanagers
-
Handle that represents the location of a module.
- ModuleLocation(JavaFileManager.Location, String) - Constructor for class io.github.ascopes.jct.filemanagers.ModuleLocation
-
Initialize the location.
- moduleName() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the module name of the stack trace frame.
- modulePathModules() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing the module path, if it exists.
- modules() - Method in class io.github.ascopes.jct.assertions.OutputContainerGroupAssert
-
Get assertions to perform on module-oriented paths within this location.
- moduleSourcePathModules() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing the source path, if it exists.
- moduleVersion() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for the module version of the stack trace frame.
N
- name() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the name of the file.
- name() - Method in class io.github.ascopes.jct.assertions.LocationAssert
-
Perform assertions on the
name
of the location. - name(String) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- name(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the friendly name of this compiler.
- nativeMethod() - Method in class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Get assertions for whether the frame is for a native (JNI) method or not.
- newAbstractIterableAssert(Iterable<? extends E>) - Method in class io.github.ascopes.jct.assertions.TypeAwareListAssert
- newAbstractIterableAssert(Iterable<? extends TraceDiagnostic<? extends JavaFileObject>>) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
- newAbstractIterableAssert(Iterable<? extends StackTraceElement>) - Method in class io.github.ascopes.jct.assertions.StackTraceAssert
- newInstance(String) - Method in enum io.github.ascopes.jct.workspaces.PathStrategy
-
Create a new instance of the test directory type with the given name.
- newJctFileManagerFactory(JctCompiler) - Static method in class io.github.ascopes.jct.filemanagers.JctFileManagers
-
Create a new default implementation of a file manager factory.
- newPlatformCompiler() - Static method in class io.github.ascopes.jct.compilers.JctCompilers
-
Create a new instance of the default platform compiler that is part of the JDK (
javac
on OpenJDK-derived implementations). - newWorkspace() - Static method in class io.github.ascopes.jct.workspaces.Workspaces
-
Create a new default workspace instance using the default path strategy.
- newWorkspace(PathStrategy) - Static method in class io.github.ascopes.jct.workspaces.Workspaces
-
Create a new default workspace instance using the given path strategy.
- none() - Static method in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Return a set of none of the debugger info flags.
- NOT_MODIFIED - Static variable in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Timestamp that is returned if the file object has never been modified.
- notes() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
across all diagnostics that have theDiagnostic.Kind.NOTE
kind.
O
- openInputStream() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Open an input stream into this file.
- openOutputStream() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Open an output stream to this file.
- openReader(boolean) - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Open a reader to this file using the default charset (UTF-8).
- openWriter() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Open a writer to this file using the default charset (UTF-8).
- others() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
across all diagnostics that have theDiagnostic.Kind.OTHER
kind. - OutputContainerGroup - Interface in io.github.ascopes.jct.containers
-
A base definition for an output-oriented container group.
- OutputContainerGroupAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for output container groups.
- OutputContainerGroupAssert(OutputContainerGroup) - Constructor for class io.github.ascopes.jct.assertions.OutputContainerGroupAssert
-
Initialize the container group assertions.
- outputGroup(JavaFileManager.Location) - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Perform assertions on the given output group, if it has been configured.
P
- PackageContainerGroup - Interface in io.github.ascopes.jct.containers
-
Base interface representing a group of package-oriented paths.
- PackageContainerGroupAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for package container groups.
- PackageContainerGroupAssert(PackageContainerGroup) - Constructor for class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Initialize the container group assertions.
- packageGroup(JavaFileManager.Location) - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Perform assertions on the given package group, if it has been configured.
- packages() - Method in class io.github.ascopes.jct.assertions.OutputContainerGroupAssert
-
Get assertions to perform on package-oriented paths within this location.
- parameterInfoEnabled(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- parameterInfoEnabled(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether to include parameter reflective info by default in compiled classes or not.
- parameterInfoEnabled(boolean) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Specify whether to include parameter reflection info in the compiled classes.
- PathFileObject - Interface in io.github.ascopes.jct.filemanagers
-
Interface for a path-based
JavaFileObject
that points to a path on a file system somewhere. - PathFileObjectAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for
Path file objects
. - PathFileObjectAssert(PathFileObject) - Constructor for class io.github.ascopes.jct.assertions.PathFileObjectAssert
-
Create a new instance of this assertion object.
- PathRoot - Interface in io.github.ascopes.jct.workspaces
-
A path-like object that can provide a
Java NIO Path
. - pathStrategy() - Element in annotation type io.github.ascopes.jct.junit.Managed
-
Get the path strategy to use for the workspace.
- PathStrategy - Enum in io.github.ascopes.jct.workspaces
-
Strategy to use for creating new test directories.
- position() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the position of the diagnostic.
- previewFeatures(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- previewFeatures(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether to enable compiler preview features or not.
- previewFeatures(boolean) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add preview feature preferences.
- provideArguments(ExtensionContext) - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
R
- RAM_DIRECTORIES - Enum constant in enum io.github.ascopes.jct.workspaces.PathStrategy
-
Use RAM-based directories for any created directories.
- relativePath() - Method in class io.github.ascopes.jct.assertions.PathFileObjectAssert
-
Perform an assertion on the file object's relative path.
- release(int) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the release version.
- release(String) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- release(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the release version.
- release(String) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add the release version.
- release(SourceVersion) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the release version.
- RELEASE - Enum constant in enum io.github.ascopes.jct.junit.VersionStrategy
-
Set the
release
. - report(Diagnostic<? extends S>) - Method in class io.github.ascopes.jct.diagnostics.TracingDiagnosticListener
S
- services(Class<T>) - Method in class io.github.ascopes.jct.assertions.AbstractContainerGroupAssert
-
Get assertions for the services loaded by the given service loader.
- showDeprecationWarnings(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- showDeprecationWarnings(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether to enable deprecation warnings or not.
- showDeprecationWarnings(boolean) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add deprecation warning preferences.
- showWarnings(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- showWarnings(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether to enable displaying warnings or not.
- showWarnings(boolean) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add warnings preferences.
- source() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the source of the diagnostic.
- source(int) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the source version.
- source(String) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- source(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the source version.
- source(String) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add the source version.
- source(SourceVersion) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the source version.
- SOURCE - Enum constant in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Include source code.
- SOURCE - Enum constant in enum io.github.ascopes.jct.junit.VersionStrategy
-
Set the
source
. - SOURCE_AND_TARGET - Enum constant in enum io.github.ascopes.jct.junit.VersionStrategy
- sourceOutputModules() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing generated source module outputs, if it exists.
- sourceOutputPackages() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing generated source package outputs, if it exists.
- sourcePathPackages() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing the source path, if it exists.
- stackTrace() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the stack trace of the location the diagnostic was reported to.
- StackTraceAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for a list of
stack trace frames
. - StackTraceAssert(List<? extends StackTraceElement>) - Constructor for class io.github.ascopes.jct.assertions.StackTraceAssert
-
Initialize a new assertions object.
- StackTraceElementAssert - Class in io.github.ascopes.jct.assertions
-
Assertions to perform on a
stack trace frame
. - StackTraceElementAssert(StackTraceElement) - Constructor for class io.github.ascopes.jct.assertions.StackTraceElementAssert
-
Initialize this assertion object.
- StackTraceRepresentation - Class in io.github.ascopes.jct.repr
-
Representation of a
list
ofstack trace frames
. - STACKTRACES - Enum constant in enum io.github.ascopes.jct.filemanagers.LoggingMode
-
Enable logging and include stacktraces in the logs for each entry.
- startPosition() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the start position of the diagnostic.
T
- target(int) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the target version.
- target(String) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- target(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the target version.
- target(String) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add the target version.
- target(SourceVersion) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set the target version.
- TARGET - Enum constant in enum io.github.ascopes.jct.junit.VersionStrategy
-
Set the
target
. - TeeWriter - Class in io.github.ascopes.jct.diagnostics
-
A writer that wraps an output stream and also writes any content to an in-memory buffer.
- TeeWriter(Writer) - Constructor for class io.github.ascopes.jct.diagnostics.TeeWriter
-
Initialise the writer.
- TEMP_DIRECTORIES - Enum constant in enum io.github.ascopes.jct.workspaces.PathStrategy
-
Use OS-level temporary directories for any created directories.
- thatIsEmpty() - Method in interface io.github.ascopes.jct.workspaces.DirectoryBuilder
-
Create an empty directory.
- thatIsEmpty() - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file but do not put anything in it.
- then() - Method in interface io.github.ascopes.jct.workspaces.ManagedDirectory
-
Method that returns the object it is called upon to enable creating fluent-language builders.
- threadId() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the thread ID of the thread that reported the diagnostic to the compiler.
- threadName() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the thread name of the thread that reported the diagnostic.
- timestamp() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Get assertions for the timestamp of the diagnostic.
- toAssert(E, String) - Method in class io.github.ascopes.jct.assertions.TypeAwareListAssert
- toAssert(TraceDiagnostic<? extends JavaFileObject>, String) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
- toAssert(StackTraceElement, String) - Method in class io.github.ascopes.jct.assertions.StackTraceAssert
- toString() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get the string representation of the compiler.
- toString() - Method in class io.github.ascopes.jct.diagnostics.TeeWriter
-
Get the content of the internal buffer.
- toString() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- toString() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- toString() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Get a string representation of this object.
- toStringOf(Object) - Method in class io.github.ascopes.jct.repr.LocationRepresentation
- toStringOf(Object) - Method in class io.github.ascopes.jct.repr.StackTraceRepresentation
- toStringOf(Object) - Method in class io.github.ascopes.jct.repr.TraceDiagnosticListRepresentation
- toStringOf(Object) - Method in class io.github.ascopes.jct.repr.TraceDiagnosticRepresentation
- toUri() - Method in interface io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine the URI for this file.
- TraceDiagnostic<S> - Class in io.github.ascopes.jct.diagnostics
-
A wrapper around a
Diagnostic
which contains additional information about where the diagnostic was reported. - TraceDiagnostic(Instant, long, String, List<StackTraceElement>, Diagnostic<? extends S>) - Constructor for class io.github.ascopes.jct.diagnostics.TraceDiagnostic
-
Initialize this diagnostic.
- TraceDiagnosticAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for an individual
trace diagnostic
. - TraceDiagnosticAssert(TraceDiagnostic<? extends JavaFileObject>) - Constructor for class io.github.ascopes.jct.assertions.TraceDiagnosticAssert
-
Initialize this assertion type.
- TraceDiagnosticListAssert - Class in io.github.ascopes.jct.assertions
-
Assertions for a list of diagnostics.
- TraceDiagnosticListAssert(List<? extends TraceDiagnostic<? extends JavaFileObject>>) - Constructor for class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Initialize this assertion.
- TraceDiagnosticListRepresentation - Class in io.github.ascopes.jct.repr
-
Representation of a collection of diagnostics.
- TraceDiagnosticRepresentation - Class in io.github.ascopes.jct.repr
-
Simplified representation of a diagnostic.
- TracingDiagnosticListener<S> - Class in io.github.ascopes.jct.diagnostics
-
A diagnostics listener that wraps all diagnostics in additional invocation information, and then stores them in a queue for processing later.
- TracingDiagnosticListener(boolean, boolean) - Constructor for class io.github.ascopes.jct.diagnostics.TracingDiagnosticListener
-
Initialize this listener.
- TracingDiagnosticListener(Logger, Supplier<? extends Thread>, boolean, boolean) - Constructor for class io.github.ascopes.jct.diagnostics.TracingDiagnosticListener
-
Only visible for testing.
- TypeAwareListAssert<E,
A> - Class in io.github.ascopes.jct.assertions -
An implementation of
AbstractListAssert
that can perform type-specific assertions on the members of the container being asserted upon.
U
- upcast(JavaFileManager.Location) - Static method in class io.github.ascopes.jct.filemanagers.ModuleLocation
-
Attempt to upcast a given location to a ModuleLocation if it is an instance of ModuleLocation.
- uri() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the URI of the file.
- use(Workspace.ThrowingWorkspaceConsumer<T>) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Functional equivalent of consuming this object with a try-with-resources.
- useRuntimeRelease() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Request that the compiler uses a language version that corresponds to the runtime language version in use on the current JVM.
V
- valueOf(String) - Static method in enum io.github.ascopes.jct.compilers.CompilationMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.ascopes.jct.filemanagers.AnnotationProcessorDiscovery
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.ascopes.jct.filemanagers.LoggingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.ascopes.jct.junit.VersionStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.ascopes.jct.workspaces.PathStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.ascopes.jct.compilers.CompilationMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.ascopes.jct.filemanagers.AnnotationProcessorDiscovery
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.ascopes.jct.filemanagers.LoggingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.ascopes.jct.junit.VersionStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.ascopes.jct.workspaces.PathStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARS - Enum constant in enum io.github.ascopes.jct.compilers.DebuggingInfo
-
Include local variable names.
- verbose(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
- verbose(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set whether to use verbose output or not.
- verbose(boolean) - Method in interface io.github.ascopes.jct.compilers.JctFlagBuilder
-
Add output-verbosity preferences.
- versionStrategy() - Element in annotation type io.github.ascopes.jct.junit.JavacCompilerTest
-
The version strategy to use.
- VersionStrategy - Enum in io.github.ascopes.jct.junit
-
Strategy for setting a version on a JUnit compiler annotation.
W
- warnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssert
across all diagnostics that have theDiagnostic.Kind.WARNING
orDiagnostic.Kind.MANDATORY_WARNING
kind. - withContents(byte[]) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file with the given byte contents.
- withContents(String...) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file with the given contents as UTF-8.
- withContents(ByteBuffer) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
An overload of
FileBuilder.withContents(byte[])
that consumes a NIO byte buffer. - withContents(Charset, String...) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file with the given contents.
- withContents(Charset, List<String>) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file with the given contents.
- withContents(List<String>) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file with the given contents as UTF-8.
- Workspace - Interface in io.github.ascopes.jct.workspaces
-
Interface for a Workspace to hold files and directories within.
- Workspace.ThrowingWorkspaceConsumer<T> - Interface in io.github.ascopes.jct.workspaces
-
A consumer functional interface that consumes a workspace and can throw a checked exception.
- Workspaces - Class in io.github.ascopes.jct.workspaces
-
Helpers to create new workspaces.
- wrapOutputStream(OutputStream, Charset) - Static method in class io.github.ascopes.jct.diagnostics.TeeWriter
-
Create a tee writer for the given output stream.
- write(char[], int, int) - Method in class io.github.ascopes.jct.diagnostics.TeeWriter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form