Uses of Interface
org.springframework.aot.test.generator.file.WritableContent
Package
Description
Support classes for compiling and testing generated code.
Support classes for running assertions on generated files.
-
Uses of WritableContent in org.springframework.aot.test.generator.compile
Modifier and TypeMethodDescriptionvoid
TestCompiler.compile
(WritableContent content, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided content. -
Uses of WritableContent in org.springframework.aot.test.generator.file
Modifier and TypeMethodDescriptionstatic ResourceFile
ResourceFile.of
(String path, WritableContent writableContent) Factory method to create a newSourceFile
from the givenWritableContent
.static SourceFile
SourceFile.of
(String path, WritableContent writableContent) Factory method to create a newSourceFile
from the givenWritableContent
.static SourceFile
SourceFile.of
(WritableContent writableContent) Factory method to create a newSourceFile
from the givenWritableContent
.protected static String
DynamicFile.toString
(WritableContent writableContent)