Uses of Class
org.springframework.core.test.tools.ClassFile
Packages that use ClassFile
Package
Description
Support classes for compiling and testing generated code.
-
Uses of ClassFile in org.springframework.core.test.tools
Methods in org.springframework.core.test.tools that return ClassFileModifier and TypeMethodDescriptionGet theClassFile
with the given class name.static ClassFile
Factory method to create a newClassFile
from the givencontent
.static ClassFile
ClassFile.of
(String name, InputStreamSource inputStreamSource) Factory method to create a newClassFile
from the givenInputStreamSource
.Methods in org.springframework.core.test.tools that return types with arguments of type ClassFileModifier and TypeMethodDescriptionClassFiles.iterator()
ClassFiles.stream()
Stream theClassFile
instances contained in this collection.Methods in org.springframework.core.test.tools with parameters of type ClassFileModifier and TypeMethodDescriptionReturn a newClassFiles
instance that merges classes from another array ofClassFile
instances.static ClassFiles
Factory method that can be used to create aClassFiles
instance containing the specified classes.Method parameters in org.springframework.core.test.tools with type arguments of type ClassFileModifier and TypeMethodDescriptionReturn a newClassFiles
instance that merges classes from another iterable ofClassFiles
instances.TestCompiler.withClasses
(Iterable<ClassFile> classFiles) Create a newTestCompiler
instance with additional classes.