Package net.bytebuddy.dynamic.loading
Interface ClassInjector.UsingReflection.Dispatcher.Initializable
- All Known Implementing Classes:
ClassInjector.UsingReflection.Dispatcher.Direct,ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm,ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVm,ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable,ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection,ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride,ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.ForJava7CapableVm,ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.ForLegacyVm
- Enclosing interface:
ClassInjector.UsingReflection.Dispatcher
public static interface ClassInjector.UsingReflection.Dispatcher.Initializable
Initializes a dispatcher to make non-accessible APIs accessible.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents an unsuccessfully loaded method lookup. -
Method Summary
Modifier and TypeMethodDescriptionInitializes this dispatcher.booleanIndicates if this dispatcher is available.
-
Method Details
-
isAvailable
boolean isAvailable()Indicates if this dispatcher is available.- Returns:
trueif this dispatcher is available.
-
initialize
ClassInjector.UsingReflection.Dispatcher initialize()Initializes this dispatcher.- Returns:
- The initialized dispatcher.
-