Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Class, Class...) - 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...) - 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) - Method in class org.springframework.core.test.tools.ClassFiles
-
Return a new
ClassFilesinstance that merges classes from another iterable ofClassFilesinstances. - and(Iterable) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return a new
ResourceFilesinstance that merges files from another iterable ofResourceFilesinstances. - and(Iterable) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a new
SourceFilesinstance that merges files from another array ofSourceFileinstances. - and(ClassFile...) - Method in class org.springframework.core.test.tools.ClassFiles
-
Return a new
ClassFilesinstance that merges classes from another array ofClassFileinstances. - and(ResourceFile...) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return a new
ResourceFilesinstance that merges files from another array ofResourceFileinstances. - and(ResourceFiles) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Return a new
ResourceFilesinstance that merges files from anotherResourceFilesinstance. - and(SourceFile...) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a new
SourceFilesinstance that merges files from another array ofSourceFileinstances. - and(SourceFiles) - Method in class org.springframework.core.test.tools.SourceFiles
-
Return a new
SourceFilesinstance that merges files from anotherSourceFilesinstance. - 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
TestCompilerwith the state of this context. - assertThat() - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocations
-
Use
assertThat(invocations)rather than calling this method directly. - assertThat() - Method in class org.springframework.core.test.tools.ResourceFile
-
Use
assertThat(sourceFile)rather than calling this method directly. - assertThat() - Method in class org.springframework.core.test.tools.SourceFile
-
Use
assertThat(sourceFile)rather than calling this method directly.
B
- build() - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Create a
RecordedInvocationbased 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
ClassFileinstances. - 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 Class in org.springframework.core.test.tools
-
Exception thrown when code cannot compile.
- CompilationException.Problem - Record Class in org.springframework.core.test.tools
-
Description of a problem that lead to a compilation failure.
- compile(Consumer) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance.
- compile(SourceFile, Consumer) - Method in class org.springframework.core.test.tools.TestCompiler
-
Compile content from this instance along with the additional provided source file.
- compile(SourceFiles, Consumer) - 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) - 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) - 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
GeneratedFilesto 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
-
ClassLoaderused to expose dynamically generated content. - DynamicClassLoader(ClassLoader, ClassFiles, ResourceFiles, Map, Map) - 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,
F> - Class in org.springframework.core.test.tools -
Assertion methods for
DynamicFileinstances.
E
- EnabledIfRuntimeHintsAgent - Annotation Interface in org.springframework.aot.test.agent
-
@EnabledIfRuntimeHintsAgentsignals that the annotated test class or test method is only enabled if theRuntimeHintsAgentis 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
- equals(Object) - Method in record class org.springframework.core.test.tools.CompilationException.Problem
-
Indicates whether some other object is "equal to" this one.
F
- failOnWarning() - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance that fails if any warning is encountered. - 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
SourceFileby looking up source for the givenClass. - forCompiler(JavaCompiler) - Static method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerbacked by the givenJavaCompiler. - forSystem() - Static method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerbacked by the system java compiler. - forTestClass(Class) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFileby 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
ClassFilewith the given class name. - get(String) - Method in class org.springframework.core.test.tools.ResourceFiles
-
Get the
ResourceFilewith the given path. - get(String) - Method in class org.springframework.core.test.tools.SourceFiles
-
Get the
SourceFilewith 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
RuntimeHintsthis invocation relates to. - getInstance() - Method in class org.springframework.aot.agent.RecordedInvocation
-
Return the instance of the object being invoked.
- getInstance(Class) - Method in class org.springframework.core.test.tools.Compiled
-
Return a new instance of a compiled class of the given type.
- getInstance(Class, 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.
- getProblems() - Method in exception class org.springframework.core.test.tools.CompilationException
-
Return the problems that lead to this exception.
- getProblems(Diagnostic.Kind...) - Method in exception class org.springframework.core.test.tools.CompilationException
-
Return the problems of the given
kinds. - 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
ResourceFilecontained 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 record class org.springframework.core.test.tools.CompilationException.Problem
-
Returns a hash code value for this object.
- 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, 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
trueif this collection is empty. - isEmpty() - Method in class org.springframework.core.test.tools.ResourceFiles
-
Returns
trueif this collection is empty. - isEmpty() - Method in class org.springframework.core.test.tools.SourceFiles
-
Returns
trueif this collection is empty. - isLoaded() - Static method in class org.springframework.aot.agent.RuntimeHintsAgent
-
Deprecated.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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- JDK_PROXIES - Enum constant in enum class org.springframework.aot.agent.HintType
-
JDK proxies hint, as described by
ProxyHints.jdkProxyHints().
K
- kind() - Method in record class org.springframework.core.test.tools.CompilationException.Problem
-
Returns the value of the
kindrecord component.
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.
- message() - Method in record class org.springframework.core.test.tools.CompilationException.Problem
-
Returns the value of the
messagerecord component. - 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
SpringFactoriesLoaderimplementation that can be used for testing purposes. - MockSpringFactoriesLoader() - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Create a new
MockSpringFactoriesLoaderinstance with the default classloader. - MockSpringFactoriesLoader(ClassLoader) - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Create a new
MockSpringFactoriesLoaderinstance with the given classloader. - MockSpringFactoriesLoader(ClassLoader, Map) - 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
ClassFilesinstance with no items. - none() - Static method in class org.springframework.core.test.tools.ResourceFiles
-
Return a
DynamicFilesinstance with no items. - none() - Static method in class org.springframework.core.test.tools.SourceFiles
-
Return a
SourceFilesinstance with no items. - notMatching(RuntimeHints) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
O
- of(String, CharSequence) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFilefrom the givenCharSequence. - of(String, InputStreamSource) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFilefrom the givenInputStreamSource. - of(String, WritableContent) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFilefrom the givenWritableContent. - of(CharSequence) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFilefrom 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
ClassFilefrom the givencontent. - of(String, byte[]) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
ResourceFilefrom the givenbyte[]. - of(String, CharSequence) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
ResourceFilefrom the givenCharSequence. - of(String, InputStreamSource) - Static method in class org.springframework.core.test.tools.ClassFile
-
Factory method to create a new
ClassFilefrom the givenInputStreamSource. - of(String, InputStreamSource) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
ResourceFilefrom the givenInputStreamSource. - of(String, WritableContent) - Static method in class org.springframework.core.test.tools.ResourceFile
-
Factory method to create a new
SourceFilefrom 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
SourceFilefrom the givenInputStreamSource. - of(ClassFile...) - Static method in class org.springframework.core.test.tools.ClassFiles
-
Factory method that can be used to create a
ClassFilesinstance 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
ResourceFilesinstance 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
SourceFilesinstance containing the specified files. - of(WritableContent) - Static method in class org.springframework.core.test.tools.SourceFile
-
Factory method to create a new
SourceFilefrom the givenWritableContent. - onInstance(Object) - Method in class org.springframework.aot.agent.RecordedInvocation.Builder
-
Set the
thisobject instance used for this invocation. - onInvocation(RecordedInvocation) - Method in interface org.springframework.aot.agent.RecordedInvocationsListener
-
Called when an
invocation has been recordedby the Java Agent. - org.springframework.aot.agent - package org.springframework.aot.agent
-
Support for recording method invocations relevant to
RuntimeHintsmetadata. - 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
-
Deprecated.
- printFiles(PrintStream) - Method in class org.springframework.core.test.tools.TestCompiler
-
Print the contents of the source and resource files to the specified
PrintStream. - Problem(Diagnostic.Kind, String) - Constructor for record class org.springframework.core.test.tools.CompilationException.Problem
-
Creates an instance of a
Problemrecord class. - 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
-
Deprecated.Record all method invocations relevant to
RuntimeHintsthat 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 recordedby 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
-
DynamicFilethat holds resource file content and providesResourceFileAssertsupport. - ResourceFileAssert - Class in org.springframework.core.test.tools
-
Assertion methods for
ResourceFileinstances. - ResourceFiles - Class in org.springframework.core.test.tools
-
An immutable collection of
ResourceFileinstances. - 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
-
Deprecated, for removal: This API element is subject to removal in a future version.as of 7.0 in favor of the
-XX:MissingRegistrationReportingMode=Warnand-XX:MissingRegistrationReportingMode=ExitJVM flags with GraalVM. - RuntimeHintsInvocations - Class in org.springframework.aot.test.agent
-
A wrapper for
RecordedInvocationthat is the starting point forRuntimeHintsAssertJ assertions. - RuntimeHintsInvocationsAssert - Class in org.springframework.aot.test.agent
-
AssertJ
assertionsthat can be applied toRuntimeHintsInvocations. - RuntimeHintsRecorder - Class in org.springframework.aot.test.agent
-
Deprecated, for removal: This API element is subject to removal in a future version.as of 7.0 in favor of the
-XX:MissingRegistrationReportingMode=Warnand-XX:MissingRegistrationReportingMode=ExitJVM flags with GraalVM.
S
- SourceFile - Class in org.springframework.core.test.tools
-
DynamicFilethat holds Java source code and providesSourceFileAssertsupport. - SourceFileAssert - Class in org.springframework.core.test.tools
-
Assertion methods for
SourceFileinstances. - SourceFiles - Class in org.springframework.core.test.tools
-
An immutable collection of
SourceFileinstances. - stream() - Method in class org.springframework.core.test.tools.ClassFiles
-
Stream the
ClassFileinstances contained in this collection. - stream() - Method in class org.springframework.core.test.tools.ResourceFiles
-
Stream the
ResourceFileinstances contained in this collection. - stream() - Method in class org.springframework.core.test.tools.SourceFiles
-
Stream the
SourceFileinstances 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
-
GenerationContexttest implementation that usesInMemoryGeneratedFilesand can configure aTestCompilerinstance. - TestGenerationContext() - Constructor for class org.springframework.aot.test.generate.TestGenerationContext
-
Create an instance using
TestGenerationContext.TEST_TARGETas 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 record class org.springframework.core.test.tools.CompilationException.Problem
-
Returns a string representation of this record class.
- 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) - 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) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional classes. - withCompilerOptions(String...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with the additional compiler options. - withProcessors(Iterable) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional annotation processors. - withProcessors(Processor...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional annotation processors. - withRegistrar(RuntimeHintsRegistrar) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
- withResources(Iterable) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional source files. - withResources(ResourceFile...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional resource files. - withResources(ResourceFiles) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional resource files. - withSources(Iterable) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional source files. - withSources(SourceFile...) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance with additional source files. - withSources(SourceFiles) - Method in class org.springframework.core.test.tools.TestCompiler
-
Create a new
TestCompilerinstance 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