Class AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher
All Implemented Interfaces:
PrivilegedAction<byte[]>
Enclosing class:
AgentBuilder.Default.ExecutingTransformer

@Enhance(includeSyntheticFields=true) protected class AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher extends Object implements PrivilegedAction<byte[]>
A privileged action for transforming a class on a JVM prior to Java 9.
  • Field Details

    • classLoader

      private final ClassLoader classLoader
      The type's class loader or null if the bootstrap class loader is represented.
    • internalTypeName

      private final String internalTypeName
      The type's internal name or null if no such name exists.
    • classBeingRedefined

      private final Class<?> classBeingRedefined
      The class being redefined or null if no such class exists.
    • protectionDomain

      private final ProtectionDomain protectionDomain
      The type's protection domain.
    • binaryRepresentation

      private final byte[] binaryRepresentation
      The type's binary representation.
  • Constructor Details

    • LegacyVmDispatcher

      protected LegacyVmDispatcher(ClassLoader classLoader, String internalTypeName, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] binaryRepresentation)
      Creates a new type transformation dispatcher.
      Parameters:
      classLoader - The type's class loader or null if the bootstrap class loader is represented.
      internalTypeName - The type's internal name or null if no such name exists.
      classBeingRedefined - The class being redefined or null if no such class exists.
      protectionDomain - The type's protection domain.
      binaryRepresentation - The type's binary representation.
  • Method Details