Enum Class AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe

java.lang.Object
java.lang.Enum<AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe>
net.bytebuddy.agent.builder.AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe
All Implemented Interfaces:
Serializable, Comparable<AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe>, Constable, AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader
Enclosing interface:
AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader

public static enum AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe extends Enum<AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader.UsingUnsafe> implements AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.Loader
A loader that is using unsafe API to load a lambda implementation. The code for loading the class looks similar to the following:
 Unsafe unsafe = Unsafe.getUnsafe();
 Class<?> lambdaClass = unsafe.defineAnonymousClass(caller.lookupClass(),
   binaryRepresentation,
   null);
 unsafe.ensureClassInitialized(lambdaClass);