Uses of Class
org.springframework.aot.test.generator.compile.TestCompiler
Packages that use TestCompiler
Package
Description
Support classes for compiling and testing generated code.
-
Uses of TestCompiler in org.springframework.aot.test.generator.compile
Methods in org.springframework.aot.test.generator.compile that return TestCompilerModifier and TypeMethodDescriptionstatic TestCompiler
TestCompiler.forCompiler
(JavaCompiler javaCompiler) Return a newTestCompiler
backed by the givenJavaCompiler
.static TestCompiler
TestCompiler.forSystem()
Return a newTestCompiler
backed 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) Return a newTestCompiler
instance with additional generated source and resource files.TestCompiler.withProcessors
(Iterable<Processor> processors) Return a newTestCompiler
instance with additional annotation processors.TestCompiler.withProcessors
(Processor... processors) Return a newTestCompiler
instance with additional annotation processors.TestCompiler.withResources
(Iterable<ResourceFile> resourceFiles) Return a newTestCompiler
instance with additional source files.TestCompiler.withResources
(ResourceFile... resourceFiles) Return a newTestCompiler
instance with additional resource files.TestCompiler.withResources
(ResourceFiles resourceFiles) Return a newTestCompiler
instance with additional resource files.TestCompiler.withSources
(Iterable<SourceFile> sourceFiles) Return a newTestCompiler
instance with additional source files.TestCompiler.withSources
(SourceFile... sourceFiles) Return a newTestCompiler
instance with additional source files.TestCompiler.withSources
(SourceFiles sourceFiles) Return a newTestCompiler
instance with additional source files.