Class RuntimeHintsRecorder

java.lang.Object
org.springframework.aot.test.agent.RuntimeHintsRecorder

@Deprecated(since="7.0", forRemoval=true) public final class RuntimeHintsRecorder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
as of 7.0 in favor of the -XX:MissingRegistrationReportingMode=Warn and -XX:MissingRegistrationReportingMode=Exit JVM flags with GraalVM.
Invocations relevant to RuntimeHints recorded during the execution of a block of code instrumented by the RuntimeHintsAgent.
Since:
6.0
Author:
Brian Clozel
  • Method Details

    • record

      public static RuntimeHintsInvocations record(Runnable action)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Record all method invocations relevant to RuntimeHints that happened during the execution of the given action.
      Parameters:
      action - the block of code we want to record invocations from
      Returns:
      the recorded invocations