Class AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher
- All Implemented Interfaces:
PrivilegedAction<byte[]>
- Enclosing class:
AgentBuilder.Default.ExecutingTransformer
@Enhance(includeSyntheticFields=true)
protected class AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher
extends Object
implements PrivilegedAction<byte[]>
A privileged action for transforming a class on a JVM that supports modules.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJava9CapableVmDispatcher(Object rawModule, ClassLoader classLoader, String internalName, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] binaryRepresentation) Creates a new legacy dispatcher. -
Method Summary
-
Constructor Details
-
Java9CapableVmDispatcher
protected Java9CapableVmDispatcher(Object rawModule, @MaybeNull ClassLoader classLoader, @MaybeNull String internalName, @MaybeNull Class<?> classBeingRedefined, @MaybeNull ProtectionDomain protectionDomain, byte[] binaryRepresentation) Creates a new legacy dispatcher.- Parameters:
rawModule- The type'sjava.lang.Module.classLoader- The type's class loader ornullif the type is loaded by the bootstrap loader.internalName- The type's internal name ornullif no such name exists.classBeingRedefined- The class being redefined ornullif no such class exists.protectionDomain- The type's protection domain ornullif not available.binaryRepresentation- The type's binary representation.
-
-
Method Details
-
run
- Specified by:
runin interfacePrivilegedAction<byte[]>
-