Class ClassInjector.UsingUnsafe.Dispatcher.Enabled

java.lang.Object
net.bytebuddy.dynamic.loading.ClassInjector.UsingUnsafe.Dispatcher.Enabled
All Implemented Interfaces:
ClassInjector.UsingUnsafe.Dispatcher, ClassInjector.UsingUnsafe.Dispatcher.Initializable
Enclosing interface:
ClassInjector.UsingUnsafe.Dispatcher

@Enhance public static class ClassInjector.UsingUnsafe.Dispatcher.Enabled extends Object implements ClassInjector.UsingUnsafe.Dispatcher, ClassInjector.UsingUnsafe.Dispatcher.Initializable
An enabled dispatcher.
  • Field Details

    • unsafe

      private final Object unsafe
      An instance of sun.misc.Unsafe or jdk.internal.misc.Unsafe.
    • defineClass

      private final Method defineClass
      The sun.misc.Unsafe#defineClass or jdk.internal.misc.Unsafe#defineClass method.
  • Constructor Details

    • Enabled

      protected Enabled(Object unsafe, Method defineClass)
      Creates an enabled dispatcher.
      Parameters:
      unsafe - An instance of sun.misc.Unsafe or jdk.internal.misc.Unsafe.
      defineClass - The sun.misc.Unsafe#defineClass or jdk.internal.misc.Unsafe#defineClass method.
  • Method Details