Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
FieldAccessor.ForParameterSetter
A field accessor that sets a parameters value of a given index.
|
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 . |
Implementation.Composable |
FieldAccessor.PropertyConfigurable.setsArgumentAt(int index)
Creates a field accessor for the described field that serves as a setter for the supplied parameter index.
|
Implementation.Composable |
FieldAccessor.ForImplicitProperty.setsArgumentAt(int index) |
Implementation.Composable |
MethodDelegation.withAssigner(Assigner assigner)
Applies an assigner to the method delegation that is used for assigning method return and parameter types.
|
Implementation.Composable |
MethodCall.withAssigner(Assigner assigner,
Assigner.Typing typing)
Defines an assigner to be used for assigning values to the parameters of the invoked method.
|
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–2017. All rights reserved.