Uses of Class
org.springframework.aot.test.generator.file.ResourceFile
Packages that use ResourceFile
Package
Description
Support classes for compiling and testing generated code.
Support classes for running assertions on generated files.
-
Uses of ResourceFile in org.springframework.aot.test.generator.compile
Methods in org.springframework.aot.test.generator.compile that return ResourceFileModifier and TypeMethodDescriptionCompiled.getResourceFile()Return the single resource file that was used when compiled.Methods in org.springframework.aot.test.generator.compile with parameters of type ResourceFileModifier and TypeMethodDescriptionTestCompiler.withResources(ResourceFile... resourceFiles) Return a newTestCompilerinstance with addition resource files. -
Uses of ResourceFile in org.springframework.aot.test.generator.file
Methods in org.springframework.aot.test.generator.file that return ResourceFileModifier and TypeMethodDescriptionGet theResourceFilewith the givenDynamicFile#getPath() path.ResourceFiles.getSingle()Return the single source file contained in the collection.static ResourceFileResourceFile.of(String path, CharSequence charSequence) Factory method to create a newResourceFilefrom the givenCharSequence.static ResourceFileResourceFile.of(String path, WritableContent writableContent) Factory method to create a newSourceFilefrom the givenWritableContent.Methods in org.springframework.aot.test.generator.file that return types with arguments of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.iterator()ResourceFiles.stream()Stream theResourceFileinstances contained in this collection.Methods in org.springframework.aot.test.generator.file with parameters of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.and(ResourceFile... ResourceFiles) Return a newResourceFilesinstance that merges files from another array ofResourceFileinstances.static ResourceFilesResourceFiles.of(ResourceFile... ResourceFiles) Factory method that can be used to create aResourceFilesinstance containing the specified files.