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 theClassFilewith the given class name.static ClassFileFactory method to create a newClassFilefrom the givencontent.static ClassFileClassFile.of(String name, InputStreamSource inputStreamSource) Factory method to create a newClassFilefrom the givenInputStreamSource.Methods in org.springframework.core.test.tools that return types with arguments of type ClassFileModifier and TypeMethodDescriptionClassFiles.iterator()ClassFiles.stream()Stream theClassFileinstances contained in this collection.Methods in org.springframework.core.test.tools with parameters of type ClassFileModifier and TypeMethodDescriptionReturn a newClassFilesinstance that merges classes from another array ofClassFileinstances.static ClassFilesFactory method that can be used to create aClassFilesinstance containing the specified classes.Method parameters in org.springframework.core.test.tools with type arguments of type ClassFileModifier and TypeMethodDescriptionReturn a newClassFilesinstance that merges classes from another iterable ofClassFilesinstances.TestCompiler.withClasses(Iterable<ClassFile> classFiles) Create a newTestCompilerinstance with additional classes.