Package net.bytebuddy.agent.builder
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.LoaderA loader is responsible for loading a generated class file in the current VM.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UnavailableAn implementation that indicates that no loader is available.static classAgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingMethodHandleLookupA loader that uses a method handle lookup object to load a class.static classAgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafeA loader that is using unsafe API to load a lambda implementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(org.objectweb.asm.MethodVisitor methodVisitor)Applies this loader.intgetLocalVariableLength()Returns the local variable length that is required to implement this loader.intgetStackSize()Returns the stack size that is required to implement this loader.
-
-
-
Method Detail
-
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.
-
-