Class RuntimeHintsRecorder

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

public final class RuntimeHintsRecorder extends Object
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)
      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