Package net.bytebuddy.utility.dispatcher
@ByDefault
package net.bytebuddy.utility.dispatcher
A package to handle dispatching of classes. This package is intentionally not exported
to avoid exposing this mechanism to external users when Byte Buddy is used as a module.
This way, external users cannot emulate Byte Buddy's privilege when caller sensitive code
would be proxied.
-
ClassDescriptionA dispatcher for creating a proxy that invokes methods of a type that is possibly unknown on the current VM.Indicates that the method is supposed to return an array of the proxied type.Indicates that a method is supposed to return a default value if a method or type could not be resolved.An
Invoker
that uses Byte Buddy's invocation context to use if dynamic class loading is not supported, for example on Android, and that do not use secured contexts, where this security measure is obsolete to begin with.A dispatcher for handling a proxied method.A dispatcher for invoking a constructor.A dispatcher that creates an array.A dispatcher that returns a fixed value.A dispatcher for a non-primitive array type.A dispatcher for returning a default value for a primitive array.A dispatcher that performs an instance check.A dispatcher for invoking a non-static proxied method.A dispatcher for invoking a static proxied method.A dispatcher for an unresolved method.A class loader for loading synthetic classes for implementing aJavaDispatcher
.A resolver to make adjustments that are possibly necessary to withhold module graph guarantees.An action to create a resolver.A resolver for VMs that do support the module system.A non-operational resolver for VMs that do not support the module system.Indicates that a method is supposed to perform an instance check.A privileged action for creating anInvoker
.Indicates that a proxied method is a constructor.Indicates that a proxied method is static.Indicates a proxied type's name.An invocation handler that invokes given dispatchers.