Uses of Interface
org.springframework.core.test.tools.WritableContent
Package
Description
Support classes for compiling and testing generated code.
-
Uses of WritableContent in org.springframework.core.test.tools
Modifier and TypeMethodDescriptionvoid
TestCompiler.compile
(WritableContent content, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided content.static 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)