Interface AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader

All Known Implementing Classes:
AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.Unavailable, AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingMethodHandleLookup, AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe
Enclosing class:
AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory

protected static interface AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader
A loader is responsible for loading a generated class file in the current VM.
  • Method Details

    • apply

      void apply(org.objectweb.asm.MethodVisitor methodVisitor)
      Applies this loader.
      Parameters:
      methodVisitor - The method visitor to use.
    • getStackSize

      int getStackSize()
      Returns the stack size that is required to implement this loader.
      Returns:
      The stack size that is required to implement this loader.
    • getLocalVariableLength

      int getLocalVariableLength()
      Returns the local variable length that is required to implement this loader.
      Returns:
      The local variable length that is required to implement this loader.