Uses of Class
org.springframework.aot.test.generate.file.SourceFiles
Packages that use SourceFiles
Package
Description
Support classes for compiling and testing generated code.
Support classes for running assertions on generated files.
-
Uses of SourceFiles in org.springframework.aot.test.generate.compile
Methods in org.springframework.aot.test.generate.compile that return SourceFilesModifier and TypeMethodDescriptionCompiled.getSourceFiles()Return all source files that were compiled.Methods in org.springframework.aot.test.generate.compile with parameters of type SourceFilesModifier and TypeMethodDescriptionvoidTestCompiler.compile(SourceFiles sourceFiles, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided source files.voidTestCompiler.compile(SourceFiles sourceFiles, ResourceFiles resourceFiles, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided source and resource files.TestCompiler.withSources(SourceFiles sourceFiles) Create a newTestCompilerinstance with additional source files. -
Uses of SourceFiles in org.springframework.aot.test.generate.file
Methods in org.springframework.aot.test.generate.file that return SourceFilesModifier and TypeMethodDescriptionSourceFiles.and(Iterable<SourceFile> sourceFiles) Return a newSourceFilesinstance that merges files from another array ofSourceFileinstances.SourceFiles.and(SourceFile... sourceFiles) Return a newSourceFilesinstance that merges files from another array ofSourceFileinstances.SourceFiles.and(SourceFiles sourceFiles) Return a newSourceFilesinstance that merges files from anotherSourceFilesinstance.static SourceFilesSourceFiles.none()Return aSourceFilesinstance with no items.static SourceFilesSourceFiles.of(SourceFile... sourceFiles) Factory method that can be used to create aSourceFilesinstance containing the specified files.Methods in org.springframework.aot.test.generate.file with parameters of type SourceFilesModifier and TypeMethodDescriptionSourceFiles.and(SourceFiles sourceFiles) Return a newSourceFilesinstance that merges files from anotherSourceFilesinstance.