Package net.bytebuddy.dynamic.loading
Interface ClassInjector.UsingUnsafe.Dispatcher.Initializable
- All Known Implementing Classes:
ClassInjector.UsingUnsafe.Dispatcher.Enabled
,ClassInjector.UsingUnsafe.Dispatcher.Unavailable
- Enclosing interface:
ClassInjector.UsingUnsafe.Dispatcher
public static interface ClassInjector.UsingUnsafe.Dispatcher.Initializable
A class injection dispatcher that is not yet initialized.
-
Method Summary
Modifier and TypeMethodDescriptionInitializes the dispatcher.boolean
Checks if unsafe class injection is available on the current VM.
-
Method Details
-
isAvailable
boolean isAvailable()Checks if unsafe class injection is available on the current VM.- Returns:
true
if unsafe class injection is available.
-
initialize
ClassInjector.UsingUnsafe.Dispatcher initialize()Initializes the dispatcher.- Returns:
- The initialized dispatcher.
-