Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Class<T>, Class<? extends T>...) - Method in class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Add factory implementations to this instance.
- add(String, String...) - Method in class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Add factory implementations to this instance.
- addInstance(Class<T>, T...) - Method in class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Add factory instances to this instance.
- addInstance(String, T...) - Method in class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Add factory instances to this instance.
- addListener(RecordedInvocationsListener) - Static method in class org.springframework.aot.agent.RecordedInvocationsPublisher
-
Register the given invocations listener.
- and(Iterable<ClassFile>) - Method in class org.springframework.core.test.tools.ClassFiles
-
Return a new
ClassFiles
instance that merges classes from another iterable ofClassFiles
instances. - and(Iterable<ResourceFile>) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return a new
ResourceFiles
instance that merges files from another iterable ofResourceFiles
instances. - and(Iterable<SourceFile>) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a new
SourceFiles
instance that merges files from another array ofSourceFile
instances. - and(ClassFile...) - Method in class org.springframework.core.test.tools.ClassFiles
-
Return a new
ClassFiles
instance that merges classes from another array ofClassFile
instances. - and(ResourceFile...) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return a new
ResourceFiles
instance that merges files from another array ofResourceFile
instances. - and(ResourceFiles) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return a new
ResourceFiles
instance that merges files from anotherResourceFiles
instance. - and(SourceFile...) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a new
SourceFiles
instance that merges files from another array ofSourceFile
instances. - and(SourceFiles) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a new
SourceFiles
instance that merges files from anotherSourceFiles
instance. - apply(TestCompiler) - Method in class org.springframework.aot.test.generate.CompilerFiles
- apply(TestCompiler) - Method in class org.springframework.aot.test.generate.TestGenerationContext
-
Configure the specified
TestCompiler
with the state of this context. - assertThat() - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocations
- assertThat() - Method in class org.springframework.core.test.tools.ResourceFile
-
Deprecated.
- assertThat() - Method in class org.springframework.core.test.tools.SourceFile
-
Deprecated.use
assertThat(sourceFile)
rather than calling this method directly.
B
- build() - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Create a
RecordedInvocation
based on the state of this builder.
C
- ClassFile - Class in org.springframework.core.test.tools
-
In memory representation of a Java class.
- ClassFiles - Class in org.springframework.core.test.tools
-
An immutable collection of
ClassFile
instances. - classforName(String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classforName(String, boolean, ClassLoader) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetClasses(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetConstructor(Class<?>, Class<?>[]) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetConstructors(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredClasses(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredConstructor(Class<?>, Class<?>[]) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredConstructors(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredField(Class<?>, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredFields(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetDeclaredMethods(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetField(Class<?>, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetFields(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetMethods(Class<?>) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetResource(Class<?>, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classgetResourceAsStream(Class<?>, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classloadergetResource(ClassLoader, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classloadergetResourceAsStream(ClassLoader, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classloadergetResources(ClassLoader, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classloaderloadClass(ClassLoader, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- classloaderresources(ClassLoader, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- CompilationException - Exception in org.springframework.core.test.tools
-
Exception thrown when code cannot compile.
- compile(Consumer<Compiled>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance.
- compile(SourceFile, Consumer<Compiled>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance along with the additional provided source file.
- compile(SourceFiles, Consumer<Compiled>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance along with the additional provided source files.
- compile(SourceFiles, ResourceFiles, Consumer<Compiled>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance along with the additional provided source and resource files.
- compile(WritableContent, Consumer<Compiled>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance along with the additional provided content.
- Compiled - Class in org.springframework.core.test.tools
-
Fully compiled results provided from a
TestCompiler
. - CompilerFiles - Class in org.springframework.aot.test.generate
-
Adapter class that can be used to apply AOT
GeneratedFiles
to theTestCompiler
. - CompileWithForkedClassLoader - Annotation Interface in org.springframework.core.test.tools
-
Annotation that registers a JUnit Jupiter extension for test classes or test methods that need to use a forked classloader with compiled code.
- constructornewInstance(Constructor<?>, Object...) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- contains(CharSequence...) - Method in class org.springframework.core.test.tools.DynamicFileAssert
-
Verify that the actual content contains all the given values.
D
- doesNotContain(CharSequence...) - Method in class org.springframework.core.test.tools.DynamicFileAssert
-
Verify that the actual content does not contain any of the given values.
- DynamicClassLoader - Class in org.springframework.core.test.tools
-
ClassLoader
used to expose dynamically generated content. - DynamicClassLoader(ClassLoader, ClassFiles, ResourceFiles, Map<String, DynamicClassFileObject>, Map<String, DynamicResourceFileObject>) - Constructor for class org.springframework.core.test.tools.DynamicClassLoader
- DynamicFile - Class in org.springframework.core.test.tools
-
Abstract base class for dynamically generated files.
- DynamicFile(String, String) - Constructor for class org.springframework.core.test.tools.DynamicFile
- DynamicFileAssert<A extends DynamicFileAssert<A,
F>, F extends DynamicFile> - Class in org.springframework.core.test.tools -
Assertion methods for
DynamicFile
instances.
E
- EnabledIfRuntimeHintsAgent - Annotation Interface in org.springframework.aot.test.agent
-
@EnabledIfRuntimeHintsAgent
signals that the annotated test class or test method is only enabled if theRuntimeHintsAgent
is loaded on the current JVM. - equals(Object) - Method in class org.springframework.aot.agent.MethodReference
- equals(Object) - Method in class org.springframework.core.test.tools.ClassFiles
- equals(Object) - Method in class org.springframework.core.test.tools.DynamicFile
- equals(Object) - Method in class org.springframework.core.test.tools.ResourceFiles
- equals(Object) - Method in class org.springframework.core.test.tools.SourceFiles
F
- fieldget(Field, Object) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- fieldset(Field, Object, Object) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- findClass(String) - Method in class org.springframework.core.test.tools.DynamicClassLoader
- findResource(String) - Method in class org.springframework.core.test.tools.DynamicClassLoader
- findResources(String) - Method in class org.springframework.core.test.tools.DynamicClassLoader
- forClass(File, Class<?>) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
by looking up source for the givenClass
. - forCompiler(JavaCompiler) - Static method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
backed by the givenJavaCompiler
. - forSystem() - Static method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
backed by the system java compiler. - forTestClass(Class<?>) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
by looking up source for the given testClass
. - from(InMemoryGeneratedFiles) - Static method in class org.springframework.aot.test.generate.CompilerFiles
G
- get(String) - Method in class org.springframework.core.test.tools.ClassFiles
-
Get the
ClassFile
with the given class name. - get(String) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Get the
ResourceFile
with the given path. - get(String) - Method in class org.springframework.core.test.tools.SourceFiles
-
Get the
SourceFile
with the given path. - getAllCompiledClasses() - Method in class org.springframework.core.test.tools.Compiled
-
Return all compiled classes.
- getArgument(int) - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the argument value at the given index used for the current reflection invocation.
- getArguments() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the argument values used for the current reflection invocation.
- getArgumentTypes() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the types of the arguments used for the current reflection invocation.
- getArgumentTypes(int) - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the types of the arguments used for the current reflection invocation, starting from the given index.
- getBytes() - Method in class org.springframework.core.test.tools.DynamicFile
-
Return the contents of the file as a byte array.
- getClassLoader() - Method in class org.springframework.core.test.tools.Compiled
-
Return the classloader containing the compiled content and access to the resources.
- getClassName() - Method in class org.springframework.aot.agent.MethodReference
-
Return the declaring class for this method.
- getClassName() - Method in class org.springframework.core.test.tools.SourceFile
-
Return the fully-qualified class name.
- getContent() - Method in class org.springframework.core.test.tools.ClassFile
-
Return the bytecode content.
- getContent() - Method in class org.springframework.core.test.tools.DynamicFile
-
Return the contents of the file.
- getGeneratedFiles() - Method in class org.springframework.aot.test.generate.TestGenerationContext
- getHintType() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the category of
RuntimeHints
this invocation relates to. - getInstance() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the instance of the object being invoked.
- getInstance(Class<T>) - Method in class org.springframework.core.test.tools.Compiled
-
Return a new instance of a compiled class of the given type.
- getInstance(Class<T>, String) - Method in class org.springframework.core.test.tools.Compiled
-
Return an instance of a compiled class identified by its class name.
- getInstanceTypeReference() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the Type reference of the object being invoked.
- getMethodName() - Method in class org.springframework.aot.agent.MethodReference
-
Return the name of the method.
- getMethodReference() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return a simple representation of the method invoked here.
- getName() - Method in class org.springframework.core.test.tools.ClassFile
-
Return the fully qualified name of the class.
- getPath() - Method in class org.springframework.core.test.tools.DynamicFile
-
Return the relative path of the file.
- getResourceFile() - Method in class org.springframework.core.test.tools.Compiled
-
Return the single resource file that was used when compiled.
- getResourceFiles() - Method in class org.springframework.core.test.tools.Compiled
-
Return all resource files that were compiled.
- getReturnValue() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the value actually returned by the invoked method.
- getSingle() - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return the single
ResourceFile
contained in the collection. - getSingle() - Method in class org.springframework.core.test.tools.SourceFiles
-
Return the single source file contained in the collection.
- getSingle(String) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return the single matching source file contained in the collection.
- getSingleFromPackage(String) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a single source file contained in the specified package.
- getSourceFile() - Method in class org.springframework.core.test.tools.Compiled
-
Return the single source file that was compiled.
- getSourceFile(String) - Method in class org.springframework.core.test.tools.Compiled
-
Return the single matching source file that was compiled.
- getSourceFileFromPackage(String) - Method in class org.springframework.core.test.tools.Compiled
-
Return the single source file that was compiled in the given package.
- getSourceFiles() - Method in class org.springframework.core.test.tools.Compiled
-
Return all source files that were compiled.
- getStackFrames() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the stack trace of the current invocation.
H
- hasContent(CharSequence) - Method in class org.springframework.core.test.tools.DynamicFileAssert
-
Verify that the actual content is equal to the given one.
- hasCount(long) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
-
Verifies that the count of recorded invocations match the expected one.
- hashCode() - Method in class org.springframework.aot.agent.MethodReference
- hashCode() - Method in class org.springframework.core.test.tools.ClassFiles
- hashCode() - Method in class org.springframework.core.test.tools.DynamicFile
- hashCode() - Method in class org.springframework.core.test.tools.ResourceFiles
- hashCode() - Method in class org.springframework.core.test.tools.SourceFiles
- hintClassName() - Method in enum class org.springframework.aot.agent.HintType
- HintType - Enum Class in org.springframework.aot.agent
-
Main types of
RuntimeHints
.
I
- instantiateFactory(String, Class<T>, SpringFactoriesLoader.ArgumentResolver, SpringFactoriesLoader.FailureHandler) - Method in class org.springframework.core.test.io.support.MockSpringFactoriesLoader
- InstrumentedBridgeMethods - Class in org.springframework.aot.agent
-
Deprecated.This class should only be used by the runtime-hints agent when instrumenting bytecode and is not considered public API.
- isEmpty() - Method in class org.springframework.core.test.tools.ClassFiles
-
Returns
true
if this collection is empty. - isEmpty() - Method in class org.springframework.core.test.tools.ResourceFiles
-
Returns
true
if this collection is empty. - isEmpty() - Method in class org.springframework.core.test.tools.SourceFiles
-
Returns
true
if this collection is empty. - isLoaded() - Static method in class org.springframework.aot.agent.RuntimeHintsAgent
-
Static accessor for detecting whether the agent is loaded in the current JVM.
- isStatic() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return whether the current invocation is static.
- iterator() - Method in class org.springframework.core.test.tools.ClassFiles
- iterator() - Method in class org.springframework.core.test.tools.ResourceFiles
- iterator() - Method in class org.springframework.core.test.tools.SourceFiles
J
- JAVA_SERIALIZATION - Enum constant in enum class org.springframework.aot.agent.HintType
-
Java serialization hint, as described by
JavaSerializationHint
. - JDK_PROXIES - Enum constant in enum class org.springframework.aot.agent.HintType
-
JDK proxies hint, as described by
ProxyHints.jdkProxyHints()
.
M
- match(RuntimeHints) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
-
Verifies that each recorded invocation match at least once hint in the provided
RuntimeHints
. - matches(RuntimeHints) - Method in class org.springframework.aot.agent.RecordedInvocation
-
Whether the given hints cover the current invocation.
- methodinvoke(Method, Object, Object...) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- MethodReference - Class in org.springframework.aot.agent
-
Reference to a Java method, identified by its owner class and the method name.
- MockSpringFactoriesLoader - Class in org.springframework.core.test.io.support
-
Simple mock
SpringFactoriesLoader
implementation that can be used for testing purposes. - MockSpringFactoriesLoader() - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Create a new
MockSpringFactoriesLoader
instance with the default classloader. - MockSpringFactoriesLoader(ClassLoader) - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Create a new
MockSpringFactoriesLoader
instance with the given classloader. - MockSpringFactoriesLoader(ClassLoader, Map<String, List<String>>) - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
- modulegetResourceAsStream(Module, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
N
- none() - Static method in class org.springframework.core.test.tools.ClassFiles
-
Return a
ClassFiles
instance with no items. - none() - Static method in class org.springframework.core.test.tools.ResourceFiles
-
Return a
DynamicFiles
instance with no items. - none() - Static method in class org.springframework.core.test.tools.SourceFiles
-
Return a
SourceFiles
instance with no items. - notMatching(RuntimeHints) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
O
- of(CharSequence) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
from the givenCharSequence
. - of(Class<?>, String) - Static method in class org.springframework.aot.agent.MethodReference
- of(String, byte[]) - Static method in class org.springframework.core.test.tools.ClassFile
-
Factory method to create a new
ClassFile
from the givencontent
. - of(String, byte[]) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
ResourceFile
from the givenbyte[]
. - of(String, CharSequence) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
ResourceFile
from the givenCharSequence
. - of(String, CharSequence) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
from the givenCharSequence
. - of(String, InputStreamSource) - Static method in class org.springframework.core.test.tools.ClassFile
-
Factory method to create a new
ClassFile
from the givenInputStreamSource
. - of(String, InputStreamSource) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
ResourceFile
from the givenInputStreamSource
. - of(String, InputStreamSource) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
from the givenInputStreamSource
. - of(String, WritableContent) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
SourceFile
from the givenWritableContent
. - of(String, WritableContent) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
from the givenWritableContent
. - of(InstrumentedMethod) - Static method in class org.springframework.aot.agent.RecordedInvocation
-
Initialize a builder for the given
InstrumentedMethod
. - of(InputStreamSource) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
from the givenInputStreamSource
. - of(ClassFile...) - Static method in class org.springframework.core.test.tools.ClassFiles
-
Factory method that can be used to create a
ClassFiles
instance containing the specified classes. - of(ResourceFile...) - Static method in class org.springframework.core.test.tools.ResourceFiles
-
Factory method that can be used to create a
ResourceFiles
instance containing the specified files. - of(SourceFile...) - Static method in class org.springframework.core.test.tools.SourceFiles
-
Factory method that can be used to create a
SourceFiles
instance containing the specified files. - of(WritableContent) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFile
from the givenWritableContent
. - onInstance(Object) - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Set the
this
object instance used for this invocation. - onInvocation(RecordedInvocation) - Method in interface org.springframework.aot.agent.RecordedInvocationsListener
-
Called when an
invocation has been recorded
by the Java Agent. - org.springframework.aot.agent - package org.springframework.aot.agent
-
Support for recording method invocations relevant to
RuntimeHints
metadata. - org.springframework.aot.test.agent - package org.springframework.aot.test.agent
-
Testing support for the
RuntimeHintsAgent
. - org.springframework.aot.test.generate - package org.springframework.aot.test.generate
-
Test support for core AOT classes.
- org.springframework.core.test.io.support - package org.springframework.core.test.io.support
-
Test support classes for Spring's I/O support.
- org.springframework.core.test.tools - package org.springframework.core.test.tools
-
Support classes for compiling and testing generated code.
P
- premain(String, Instrumentation) - Static method in class org.springframework.aot.agent.RuntimeHintsAgent
- printFiles(PrintStream) - Method in class org.springframework.core.test.tools.TestCompiler
-
Print the contents of the source and resource files to the specified
PrintStream
. - proxynewProxyInstance(ClassLoader, Class<?>[], InvocationHandler) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
R
- record(Runnable) - Static method in class org.springframework.aot.test.agent.RuntimeHintsRecorder
-
Record all method invocations relevant to
RuntimeHints
that happened during the execution of the given action. - RecordedInvocation - Class in org.springframework.aot.agent
-
Record of an invocation of a method relevant to
RuntimeHints
. - RecordedInvocation.Builder - Class in org.springframework.aot.agent
-
Builder for
RecordedInvocation
. - RecordedInvocationsListener - Interface in org.springframework.aot.agent
-
Listener for
invocations recorded
by theRuntimeHintsAgent
. - RecordedInvocationsPublisher - Class in org.springframework.aot.agent
-
Publishes invocations on method relevant to
RuntimeHints
, as they are recorded by theRuntimeHintsAgent
. - REFLECTION - Enum constant in enum class org.springframework.aot.agent.HintType
-
Reflection hint, as described by
ReflectionHints
. - removeListener(RecordedInvocationsListener) - Static method in class org.springframework.aot.agent.RecordedInvocationsPublisher
-
Deregister the given invocations listener.
- RESOURCE_BUNDLE - Enum constant in enum class org.springframework.aot.agent.HintType
-
Resource bundle hint, as described by
ResourceHints.resourceBundleHints()
. - RESOURCE_PATTERN - Enum constant in enum class org.springframework.aot.agent.HintType
-
Resource pattern hint, as described by
ResourceHints.resourcePatternHints()
. - resourcebundlegetBundle(String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, Module) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, Locale) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, Locale, ClassLoader) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, Locale, ClassLoader, ResourceBundle.Control) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, Locale, Module) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, Locale, ResourceBundle.Control) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- resourcebundlegetBundle(String, ResourceBundle.Control) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- ResourceFile - Class in org.springframework.core.test.tools
-
DynamicFile
that holds resource file content and providesResourceFileAssert
support. - ResourceFileAssert - Class in org.springframework.core.test.tools
-
Assertion methods for
ResourceFile
instances. - ResourceFiles - Class in org.springframework.core.test.tools
-
An immutable collection of
ResourceFile
instances. - returnValue(Object) - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Use the given object as the return value for the invocation.
- RuntimeHintsAgent - Class in org.springframework.aot.agent
-
Java Agent that records method invocations related to
RuntimeHints
metadata. - RuntimeHintsInvocations - Class in org.springframework.aot.test.agent
-
A wrapper for
RecordedInvocation
that is the starting point forRuntimeHints
AssertJ assertions. - RuntimeHintsInvocationsAssert - Class in org.springframework.aot.test.agent
-
AssertJ
assertions
that can be applied toRuntimeHintsInvocations
. - RuntimeHintsRecorder - Class in org.springframework.aot.test.agent
-
Invocations relevant to
RuntimeHints
recorded during the execution of a block of code instrumented by theRuntimeHintsAgent
.
S
- SourceFile - Class in org.springframework.core.test.tools
-
DynamicFile
that holds Java source code and providesSourceFileAssert
support. - SourceFileAssert - Class in org.springframework.core.test.tools
-
Assertion methods for
SourceFile
instances. - SourceFiles - Class in org.springframework.core.test.tools
-
An immutable collection of
SourceFile
instances. - stream() - Method in class org.springframework.core.test.tools.ClassFiles
-
Stream the
ClassFile
instances contained in this collection. - stream() - Method in class org.springframework.core.test.tools.ResourceFiles
-
Stream the
ResourceFile
instances contained in this collection. - stream() - Method in class org.springframework.core.test.tools.SourceFiles
-
Stream the
SourceFile
instances contained in this collection.
T
- TEST_TARGET - Static variable in class org.springframework.aot.test.generate.TestGenerationContext
-
The default test target
ClassName
. - TestCompiler - Class in org.springframework.core.test.tools
-
Utility that can be used to dynamically compile and test Java source code.
- TestGenerationContext - Class in org.springframework.aot.test.generate
-
GenerationContext
test implementation that usesInMemoryGeneratedFiles
and can configure aTestCompiler
instance. - TestGenerationContext() - Constructor for class org.springframework.aot.test.generate.TestGenerationContext
-
Create an instance using
TestGenerationContext.TEST_TARGET
as thetarget
. - TestGenerationContext(Class<?>) - Constructor for class org.springframework.aot.test.generate.TestGenerationContext
-
Create an instance using the specified
target
. - TestGenerationContext(ClassNameGenerator) - Constructor for class org.springframework.aot.test.generate.TestGenerationContext
-
Create an instance using the specified
ClassNameGenerator
. - TestGenerationContext(ClassName) - Constructor for class org.springframework.aot.test.generate.TestGenerationContext
-
Create an instance using the specified
target
. - toClassName(String) - Static method in class org.springframework.core.test.tools.ClassFile
-
Return the name of a class based on its relative path.
- toString() - Method in class org.springframework.aot.agent.MethodReference
- toString() - Method in class org.springframework.aot.agent.RecordedInvocation
- toString() - Method in class org.springframework.core.test.tools.ClassFiles
- toString() - Method in class org.springframework.core.test.tools.DynamicFile
- toString() - Method in class org.springframework.core.test.tools.ResourceFiles
- toString() - Method in class org.springframework.core.test.tools.SourceFiles
- toString(WritableContent) - Static method in class org.springframework.core.test.tools.DynamicFile
V
- valueOf(String) - Static method in enum class org.springframework.aot.agent.HintType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.aot.agent.HintType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- with(UnaryOperator<TestCompiler>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Apply customization to this compiler.
- withArgument(Object) - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Use the given object as the unique argument.
- withArguments(Object...) - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Use the given objects as the invocation arguments.
- withClasses(Iterable<ClassFile>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional classes. - withProcessors(Iterable<Processor>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional annotation processors. - withProcessors(Processor...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional annotation processors. - withRegistrar(RuntimeHintsRegistrar) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
- withResources(Iterable<ResourceFile>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional source files. - withResources(ResourceFile...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional resource files. - withResources(ResourceFiles) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional resource files. - withSources(Iterable<SourceFile>) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional source files. - withSources(SourceFile...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional source files. - withSources(SourceFiles) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompiler
instance with additional source files. - withSpringFactoriesRegistrars(String) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
- WritableContent - Interface in org.springframework.core.test.tools
-
Callback interface used to write file content.
- writeTo(Appendable) - Method in interface org.springframework.core.test.tools.WritableContent
-
Callback method that should write the content to the given
Appendable
.
All Classes and Interfaces|All Packages|Serialized Form
assertThat(sourceFile)
rather than calling this method directly.