Uses of Class
org.springframework.aot.test.generate.compile.TestCompiler
Packages that use TestCompiler
Package
Description
Support classes for compiling and testing generated code.
-
Uses of TestCompiler in org.springframework.aot.test.generate.compile
Methods in org.springframework.aot.test.generate.compile that return TestCompilerModifier and TypeMethodDescriptionstatic TestCompilerTestCompiler.forCompiler(JavaCompiler javaCompiler) Create a newTestCompilerbacked by the givenJavaCompiler.static TestCompilerTestCompiler.forSystem()Create a newTestCompilerbacked by the system java compiler.TestCompiler.printFiles(PrintStream printStream) Print the contents of the source and resource files to the specifiedPrintStream.TestCompiler.withFiles(InMemoryGeneratedFiles generatedFiles) Create a newTestCompilerinstance with additional generated source and resource files.TestCompiler.withProcessors(Iterable<Processor> processors) Create a newTestCompilerinstance with additional annotation processors.TestCompiler.withProcessors(Processor... processors) Create a newTestCompilerinstance with additional annotation processors.TestCompiler.withResources(Iterable<ResourceFile> resourceFiles) Create a newTestCompilerinstance with additional source files.TestCompiler.withResources(ResourceFile... resourceFiles) Create a newTestCompilerinstance with additional resource files.TestCompiler.withResources(ResourceFiles resourceFiles) Create a newTestCompilerinstance with additional resource files.TestCompiler.withSources(Iterable<SourceFile> sourceFiles) Create a newTestCompilerinstance with additional source files.TestCompiler.withSources(SourceFile... sourceFiles) Create a newTestCompilerinstance with additional source files.TestCompiler.withSources(SourceFiles sourceFiles) Create a newTestCompilerinstance with additional source files.