protected static interface ClassInjector.UsingUnsafe.Dispatcher
sun.misc.Unsafe or jdk.internal.misc.Unsafe.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ClassInjector.UsingUnsafe.Dispatcher.CreationActionA privileged action for creating a dispatcher. | 
| static class  | ClassInjector.UsingUnsafe.Dispatcher.EnabledAn enabled dispatcher. | 
| static interface  | ClassInjector.UsingUnsafe.Dispatcher.InitializableA class injection dispatcher that is not yet initialized. | 
| static class  | ClassInjector.UsingUnsafe.Dispatcher.UnavailableA disabled dispatcher. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<?> | defineClass(ClassLoader classLoader,
           String name,
           byte[] binaryRepresentation,
           ProtectionDomain protectionDomain)Defines a class. | 
Class<?> defineClass(@MaybeNull ClassLoader classLoader, String name, byte[] binaryRepresentation, @MaybeNull ProtectionDomain protectionDomain)
classLoader - The class loader to inject the class into.name - The type's name.binaryRepresentation - The type's binary representation.protectionDomain - The type's protection domain.Copyright © 2014–2024. All rights reserved.