Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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 extends AbstractContainerGroupAssert<I,
C>, C extends ContainerGroup> - 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 extends AbstractEnumAssert<A,
E>, E extends Enum<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 extends AbstractJavaFileObjectAssert<I,
A>, A extends JavaFileObject> - 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<A extends AbstractJctCompiler<A>> - Class in io.github.ascopes.jct.compilers
-
Common functionality for a compiler that can be overridden and that produces a
JctCompilationImplas 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
- 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, 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, 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, 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. - addNativeHeaderOutputModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.
- addNativeHeaderOutputPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.addPackage(Location, Path), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - 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.
- addPatchModulePathModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.addModule(Location, String, Path), passingStandardLocation.PATCH_MODULE_PATHas the first parameter. - 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.
- addPlatformClassPathPackage(Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- 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. - addSystemModulePathModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.addModule(Location, String, Path), passingStandardLocation.SYSTEM_MODULESas the first parameter. - addUpgradeModulePathModule(String, Path) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.addModule(Location, String, Path), passingStandardLocation.UPGRADE_MODULE_PATHas the first parameter. - afterAll(ExtensionContext) - Method in class io.github.ascopes.jct.junit.JctExtension
- afterEach(ExtensionContext) - Method in class io.github.ascopes.jct.junit.JctExtension
- allFilesExist(Iterable<String>) - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Assert that all given files exist.
- allFilesExist(String, 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.
- 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(PathFileObject) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Path-based 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) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Java file object.
- assertThat(JavaFileObject.Kind) - Static method in class io.github.ascopes.jct.assertions.JctAssertions
-
Perform an assertion on a Java file object kind.
- 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.
- 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.
- classOutput() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing class outputs, if it exists.
- classPath() - 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.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.
- 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, 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, boolean, 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 that can throw a checked exception.
- 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.JctFileManagerJvmPlatformClassPathConfigurer
-
Deprecated.
- 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.
- content() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the content of the file, using
UTF-8encoding. - 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, 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.
- 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, 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, 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.
- createFileSystem(String) - Method in interface io.github.ascopes.jct.workspaces.RamFileSystemProvider
-
Deprecated.Create the new file system.
- 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. - createNativeHeaderOutputModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.createModule(Location, String), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - createNativeHeaderOutputPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.createPackage(Location), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - 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.
- createPatchModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.createModule(Location, String), passingStandardLocation.PATCH_MODULE_PATHas the first parameter. - createPlatformClassPathPackage() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- createPlatformCompiler() - Static method in class io.github.ascopes.jct.compilers.JctCompilers
-
Deprecated, for removal: This API element is subject to removal in a future version.Renamed in 0.2.0 for consistency, use
JctCompilers.newPlatformCompiler()instead. - 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. - createSystemModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.createModule(Location, String), passingStandardLocation.SYSTEM_MODULESas the first parameter. - createUpgradeModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.createModule(Location, String), passingStandardLocation.UPGRADE_MODULE_PATHas the first parameter. - customWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.WARNINGkind.
D
- 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_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_PLATFORM_CLASS_PATH - Static variable in interface io.github.ascopes.jct.compilers.JctCompiler
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0, and has been changed to default to
falseas of v0.6.0 - 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_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 class 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 class 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
TraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.ERRORkind. - excludingKinds(Iterable<Diagnostic.Kind>) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssertthat contains diagnostics corresponding to none of the givenkinds. - excludingKinds(Diagnostic.Kind, Diagnostic.Kind...) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssertthat 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, String...) - Method in class io.github.ascopes.jct.assertions.PackageContainerGroupAssert
-
Assert that the given file does not exist.
- fileExists(String, 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
TraceDiagnosticListAssertthat contains diagnostics corresponding to any of the givenkinds. - filteringByKinds(Diagnostic.Kind, Diagnostic.Kind...) - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssertthat 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
- fromInputStream(InputStream) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Copy the contents from the given input stream into the file system.
- fullPath() - Method in class io.github.ascopes.jct.assertions.PathFileObjectAssert
-
Perform an assertion on the file object's full path.
G
- generatedHeaders() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Deprecated, for removal: This API element is subject to removal in a future version.this method is rarely needed, so is being removed in v1.0.0. Use
JctCompilationAssert.outputGroup(Location), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter instead. - getAccessLevel() - Method in class 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 class io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the inferred binary name of the file object.
- getCharContent(boolean) - Method in class 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.
- 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 outputsfor 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.
- 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.
- 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, String...) - Method in interface io.github.ascopes.jct.containers.Container
-
Find the physical path to a given string file path.
- getFile(String, 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
FileObjectfor reading, if it exists. - getFileForInput(String, String) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
FileObjectthat can have content read from it. - getFileForOutput(String, String) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
FileObjectfor writing. - getFileForOutput(String, String) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
FileObjectthat can have content written to it for the given file. - 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 a 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.
- getFullPath() - Method in class io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the full path of this file object.
- 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.
- getInstance() - Static method in interface io.github.ascopes.jct.workspaces.RamFileSystemProvider
-
Deprecated.Get the service provider implementation to use.
- getJavaFileForInput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
JavaFileObjectfor reading, if it exists. - getJavaFileForInput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
JavaFileObjectthat can have content read from it for the given file. - getJavaFileForOutput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.Container
-
Get a
JavaFileObjectfor writing. - getJavaFileForOutput(String, JavaFileObject.Kind) - Method in interface io.github.ascopes.jct.containers.PackageContainerGroup
-
Get a
JavaFileObjectthat can have content written to it for the given class. - getKind() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getKind() - Method in class io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the kind of the file.
- getLastModified() - Method in class 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 class io.github.ascopes.jct.filemanagers.PathFileObject
-
Get the location of this path file object.
- 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 impl 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 class 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.
- getNativeHeaderOutputGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
JctFileManager.getOutputContainerGroup(Location), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - getNativeHeaderOutputModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModule(Location, String), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - getNativeHeaderOutputModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModules(Location), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - getNativeHeaderOutputPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getPackages(Location), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter. - getNativeHeaderOutputs() - Method in interface io.github.ascopes.jct.compilers.JctCompilation
-
Get the output container group for the native header file outputs.
- getNestingKind() - Method in class 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
PackageContainerGroupfor 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 impl 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 impl 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.
- getPatchModulePathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
JctFileManager.getModuleContainerGroup(Location), passingStandardLocation.PATCH_MODULE_PATHas the first parameter. - getPatchModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModule(Location, String), passingStandardLocation.PATCH_MODULE_PATHas the first parameter. - getPatchModulePathModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModules(Location), passingStandardLocation.PATCH_MODULE_PATHas the first parameter. - getPath() - Method in interface io.github.ascopes.jct.workspaces.PathRoot
-
Get the
Java NIO Pathfor 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.
- getPlatformClassPathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- getPlatformClassPathPackages() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- getPosition() - Method in class io.github.ascopes.jct.diagnostics.TraceDiagnostic
- getRelativePath() - Method in class 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
nullif 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 class 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
nullif 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 outputsfor 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
- getSystemModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModule(Location, String), passingStandardLocation.SYSTEM_MODULESas the first parameter. - getSystemModulePathModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModules(Location), passingStandardLocation.SYSTEM_MODULESas the first parameter. - 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.
- getSystemModulesGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
JctFileManager.getModuleContainerGroup(Location), passingStandardLocation.SYSTEM_MODULESas the first parameter. - 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
nullif 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.
- getUpgradeModulePathGroup() - Method in interface io.github.ascopes.jct.filemanagers.JctFileManager
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
JctFileManager.getModuleContainerGroup(Location), passingStandardLocation.SYSTEM_MODULESas the first parameter. - getUpgradeModulePathModule(String) - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModule(Location, String), passingStandardLocation.UPGRADE_MODULE_PATHas the first parameter. - getUpgradeModulePathModules() - Method in interface io.github.ascopes.jct.workspaces.Workspace
-
Deprecated, for removal: This API element is subject to removal in a future version.This is a specialist method that is usually not used. To keep the API simple, this is being removed. You should instead call
Workspace.getModules(Location), passingStandardLocation.UPGRADE_MODULE_PATHas the first parameter. - 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
- hashCode() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- hashCode() - Method in class 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.
- hasNoCustomWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.WARNINGdiagnostics. - 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, 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.ERRORdiagnostics. - 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_WARNINGdiagnostics. - hasNoMandatoryWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.MANDATORY_WARNINGdiagnostics. - hasNoNotes() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.NOTEdiagnostics. - hasNoOtherDiagnostics() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.OTHERdiagnostics. - hasNoWarnings() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Assert that this list has no
Diagnostic.Kind.WARNINGorDiagnostic.Kind.MANDATORY_WARNINGdiagnostics.
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.
- 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 caller 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 caller JVM or not.
- inheritPlatformClassPath(boolean) - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Deprecated, for removal: This API element is subject to removal in a future version.
- inheritPlatformClassPath(boolean) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- 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 caller 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
- invoke(Object, Method, Object...) - Method in class io.github.ascopes.jct.filemanagers.LoggingFileManagerProxy
-
Invoke the given call.
- 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
-
Assertions to perform on the result of a compilation.
- io.github.ascopes.jct.compilers - package io.github.ascopes.jct.compilers
-
Compiler frontends that allow invoking compilers easily from tests.
- io.github.ascopes.jct.containers - package io.github.ascopes.jct.containers
-
Containers used to integrate with the JSR-199 API in a modular way.
- 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
-
Exceptions used within this API.
- io.github.ascopes.jct.filemanagers - package io.github.ascopes.jct.filemanagers
-
Implementation details for the JSR-199 file manager API.
- io.github.ascopes.jct.filemanagers.config - package io.github.ascopes.jct.filemanagers.config
-
File manager configuration rules.
- io.github.ascopes.jct.junit - package io.github.ascopes.jct.junit
-
Additional functionality to simplify writing tests with Junit.
- 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, E...) - Method in class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Assert that the value is one of the given values.
- isAnyOfElements(Iterable<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.JctFileManagerJvmPlatformClassPathConfigurer
-
Deprecated.
- 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 caller 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 caller JVM or not.
- isInheritPlatformClassPath() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isInheritPlatformClassPath() - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- 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 caller 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 class io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine if a given simple name and file kind are compatible with this file object.
- isNoneOf(E, E...) - Method in class io.github.ascopes.jct.assertions.AbstractEnumAssert
-
Assert that the value is none of the given values.
- isNoneOfElements(Iterable<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
- 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.
- 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.WARNINGorDiagnostic.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
JavacCompilerTestannotation. - 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
-
Interface representing 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
JctCompilationobjects by performing a physical compilation with a compiler. - JctCompiler<C extends JctCompiler<C,
R>, R extends JctCompilation> - 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 extends Exception> - Interface in io.github.ascopes.jct.compilers
-
Function representing a configuration operation that can be applied to a compiler.
- JctCompilerException - Exception 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 io.github.ascopes.jct.ex.JctCompilerException
-
Initialize the error.
- JctCompilerException(String, Throwable) - Constructor for exception 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 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
JavaFileManagerthat allows adding ofPathRootobjects 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 configurer of Java File Manager objects.
- JctFileManagerConfigurerChain - Class in io.github.ascopes.jct.filemanagers.config
-
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.
- JctFileManagerJvmPlatformClassPathConfigurer - Class in io.github.ascopes.jct.filemanagers.config
-
Deprecated, for removal: This API element is subject to removal in a future version.The platform class path has been mostly replaced by the use of system modules, so should not be used. This will be removed in v1.0.0.
- JctFileManagerJvmPlatformClassPathConfigurer(JctCompiler<?, ?>) - Constructor for class io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmPlatformClassPathConfigurer
-
Deprecated.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.
- 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.
- JctJunitConfigurerException - Exception 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 io.github.ascopes.jct.ex.JctJunitConfigurerException
-
Initialise the exception.
- JctJunitConfigurerException(String, Throwable) - Constructor for exception io.github.ascopes.jct.ex.JctJunitConfigurerException
-
Initialise the exception.
- Jsr199CompilerFactory - Interface in io.github.ascopes.jct.compilers
-
Factory that creates an instance of a JSR-199 compiler.
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.
- 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.
- 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.
- LoggingFileManagerProxy - Class in io.github.ascopes.jct.filemanagers
-
A proxy that wraps a
JctFileManagerin a proxy that can log all interactions with the JavaFileManager, along with a corresponding stacktrace. - 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
Workspacefield 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
TraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.MANDATORY_WARNINGkind. - maxSupportedVersion(boolean) - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Get the maximum supported compiler version.
- maxSupportedVersion(boolean) - 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(boolean) - Method in class io.github.ascopes.jct.junit.AbstractCompilersProvider
-
Get the minimum supported compiler version.
- minSupportedVersion(boolean) - 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.
- modulePath() - 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.
- modules() - Element in annotation type io.github.ascopes.jct.junit.JavacCompilerTest
-
Deprecated, for removal: This API element is subject to removal in a future version.this will be removed in a future release, since Java 8 is reaching end-of-life.
- moduleSourcePath() - 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.
- myself() - Method in class io.github.ascopes.jct.compilers.AbstractJctCompiler
-
Get this implementation of
AbstractJctCompiler, cast to the type parameterAbstractJctCompiler.
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
nameof 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 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.
- 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 (
javacon 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.
- notes() - Method in class io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
-
Get a
TraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.NOTEkind.
O
- openInputStream() - Method in class io.github.ascopes.jct.filemanagers.PathFileObject
-
Open an input stream into this file.
- openOutputStream() - Method in class io.github.ascopes.jct.filemanagers.PathFileObject
-
Open an output stream to this file.
- openReader(boolean) - Method in class io.github.ascopes.jct.filemanagers.PathFileObject
-
Open a reader to this file using the default charset (UTF-8).
- openWriter() - Method in class 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
TraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.OTHERkind. - 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.
- PathFileObject - Class in io.github.ascopes.jct.filemanagers
-
A very simple
JavaFileObjectthat points to a path on someFileSystemsomewhere. - PathFileObject(JavaFileManager.Location, Path, Path) - Constructor for class io.github.ascopes.jct.filemanagers.PathFileObject
-
Initialize this file object.
- 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 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.
- RamFileSystemProvider - Interface in io.github.ascopes.jct.workspaces
-
Deprecated, for removal: This API element is subject to removal in a future version.this feature should never be needed by users of this library, and so has been deprecated for removal in v1.0.0.
- relativePath() - Method in class io.github.ascopes.jct.assertions.PathFileObjectAssert
-
Perform an assertion on the file object's full 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.JctFlagBuilder
-
Add the release version.
- release(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set 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.JctFlagBuilder
-
Add the source version.
- source(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set 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.junit.VersionStrategy
-
Set the
JctCompiler.source(java.lang.String)source}. - SOURCE_AND_TARGET - Enum constant in enum io.github.ascopes.jct.junit.VersionStrategy
- sourceOutput() - Method in class io.github.ascopes.jct.assertions.JctCompilationAssert
-
Get assertions on the path containing generated source outputs, if it exists.
- sourcePath() - 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
listofstack 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.JctFlagBuilder
-
Add the target version.
- target(String) - Method in interface io.github.ascopes.jct.compilers.JctCompiler
-
Set 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
JctCompiler.target(java.lang.String)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(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
-
Deprecated.Use
AbstractJctCompiler.getName()instead. - 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.LoggingFileManagerProxy
- toString() - Method in class io.github.ascopes.jct.filemanagers.ModuleLocation
- toString() - Method in class 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 class io.github.ascopes.jct.filemanagers.PathFileObject
-
Determine the URI for this file.
- TraceDiagnostic<S extends JavaFileObject> - Class in io.github.ascopes.jct.diagnostics
-
A wrapper around a
Diagnosticwhich 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
-
Representation of a diagnostic.
- TracingDiagnosticListener<S extends JavaFileObject> - 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.
U
- uri() - Method in class io.github.ascopes.jct.assertions.AbstractJavaFileObjectAssert
-
Get an assertion object on the URI of the file.
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.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.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.
- 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
TraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.WARNINGorDiagnostic.Kind.MANDATORY_WARNINGkind. - 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(Charset, String...) - Method in interface io.github.ascopes.jct.workspaces.FileBuilder
-
Create the file with the given contents.
- Workspace - Interface in io.github.ascopes.jct.workspaces
-
Interface for a Workspace to hold files and directories within.
- Workspaces - Class in io.github.ascopes.jct.workspaces
-
Helpers to create new workspaces.
- wrap(JctFileManager, boolean) - Static method in class io.github.ascopes.jct.filemanagers.LoggingFileManagerProxy
-
Wrap the given
JctFileManagerin a proxy that logs any calls. - 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
Workspace.addModule(Location, String, Path), passingStandardLocation.NATIVE_HEADER_OUTPUTas the first parameter.