Class SourceFile

java.lang.Object
org.springframework.aot.test.generate.file.DynamicFile
org.springframework.aot.test.generate.file.SourceFile
All Implemented Interfaces:
org.assertj.core.api.AssertProvider<SourceFileAssert>

public final class SourceFile extends DynamicFile implements org.assertj.core.api.AssertProvider<SourceFileAssert>
DynamicFile that holds Java source code and provides SourceFileAssert support. Usually created from an AOT generated type, for example:
 SourceFile.of(generatedFile::writeTo)
 
Since:
6.0
Author:
Phillip Webb