Package org.springframework.core.test.tools
@NonNullApi
@NonNullFields
package org.springframework.core.test.tools
Support classes for compiling and testing generated code.
-
ClassDescriptionIn memory representation of a Java class.An immutable collection of
ClassFile
instances.Exception thrown when code cannot compile.Fully compiled results provided from aTestCompiler
.Annotation that registers a JUnit Jupiter extension for test classes or test methods that need to use a forked classloader with compiled code.ClassLoader
used to expose dynamically generated content.Abstract base class for dynamically generated files.Assertion methods forDynamicFile
instances.DynamicFile
that holds resource file content and providesResourceFileAssert
support.Assertion methods forResourceFile
instances.An immutable collection ofResourceFile
instances.DynamicFile
that holds Java source code and providesSourceFileAssert
support.Assertion methods forSourceFile
instances.An immutable collection ofSourceFile
instances.Utility that can be used to dynamically compile and test Java source code.Callback interface used to write file content.