Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
class |
Forwarding
This implementation forwards method invocations to another instance.
|
class |
InvokeDynamic
An implementation that applies a
dynamic method invocation.
|
protected static class |
InvokeDynamic.AbstractDelegator
An abstract delegator that allows to specify a configuration for any specification of an argument.
|
static class |
InvokeDynamic.WithImplicitArguments
Representation of an
InvokeDynamic implementation where the bootstrapped
method is passed a this reference, if available, and any arguments of the instrumented method. |
static class |
InvokeDynamic.WithImplicitTarget
Representation of an
InvokeDynamic implementation where the bootstrapped
method is passed a this reference, if available, and any arguments of the instrumented method and
where the invocation target is implicit. |
static class |
InvokeDynamic.WithImplicitType
An
InvokeDynamic invocation where the last argument is assigned its implicit type. |
protected static class |
InvokeDynamic.WithImplicitType.OfArgument
An invoke dynamic implementation where the last argument is an implicitly typed method argument.
|
protected static class |
InvokeDynamic.WithImplicitType.OfField
An invoke dynamic implementation where the last argument is an implicitly typed field value.
|
protected static class |
InvokeDynamic.WithImplicitType.OfInstance
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.
|
class |
MethodCall
This
Implementation allows the invocation of a specified method while
providing explicit arguments to this method. |
static class |
MethodCall.WithoutSpecifiedTarget
Represents a
MethodCall that invokes a method without specifying
an invocation method. |
class |
MethodDelegation
This implementation delegates an method call to another method which can either be
static by providing
a reference to a Class or an instance method when another object is provided. |
class |
SuperMethodCall
This implementation will create a new method which simply calls its super method.
|
Modifier and Type | Method and Description |
---|---|
static Implementation.Composable |
MethodCall.call(Callable<?> callable)
Implements a method by invoking the provided
Callable . |
static Implementation.Composable |
MethodCall.run(Runnable runnable)
Implements a method by invoking the provided
Runnable . |
static Implementation.Composable |
Forwarding.to(Object delegate)
Forwards all intercepted method invocations to the given instance which is stored in a
static field
of the instrumented class. |
static Implementation.Composable |
Forwarding.to(Object delegate,
String fieldName)
Forwards all intercepted method invocations to the given instance which is stored in a
static field
of the instrumented class. |
static Implementation.Composable |
Forwarding.to(Object delegate,
String fieldName,
Type type)
Forwards all intercepted method invocations to the given instance which is stored in a
static field
of the instrumented class. |
static Implementation.Composable |
Forwarding.to(Object delegate,
Type type)
Forwards all intercepted method invocations to the given instance which is stored in a
static field
of the instrumented class. |
static Implementation.Composable |
Forwarding.toField(String name)
Delegates a method invocation to a field.
|
static Implementation.Composable |
Forwarding.toField(String name,
FieldLocator.Factory fieldLocatorFactory)
Delegates a method invocation to a field.
|
Implementation.Composable |
InvokeDynamic.withAssigner(Assigner assigner,
Assigner.Typing typing)
Instructs this implementation to use the provided assigner and decides if the assigner should apply
dynamic typing.
|
Implementation.Composable |
InvokeDynamic.AbstractDelegator.withAssigner(Assigner assigner,
Assigner.Typing typing) |
Copyright © 2014–2016. All rights reserved.