Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
InvokeDynamic |
InvokeDynamic.WithImplicitType.as(Class<?> type)
Represents the last value as an instance of the given type.
|
abstract InvokeDynamic |
InvokeDynamic.WithImplicitType.as(TypeDescription typeDescription)
Represents the last value as an instance of the given type.
|
InvokeDynamic |
InvokeDynamic.WithImplicitType.OfInstance.as(TypeDescription typeDescription) |
InvokeDynamic |
InvokeDynamic.WithImplicitType.OfArgument.as(TypeDescription typeDescription) |
InvokeDynamic |
InvokeDynamic.WithImplicitType.OfField.as(TypeDescription typeDescription) |
protected abstract InvokeDynamic |
InvokeDynamic.AbstractDelegator.materialize()
Resolves the current configuration into a fully initialized invoke dynamic instance.
|
protected InvokeDynamic |
InvokeDynamic.WithImplicitArguments.materialize() |
protected InvokeDynamic |
InvokeDynamic.WithImplicitType.OfInstance.materialize() |
protected InvokeDynamic |
InvokeDynamic.WithImplicitType.OfArgument.materialize() |
protected InvokeDynamic |
InvokeDynamic.WithImplicitType.OfField.materialize() |
InvokeDynamic |
InvokeDynamic.withArgument(int... index)
Passes parameters of the instrumented method to the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withArgument(int... index)
Passes parameters of the instrumented method to the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.withBooleanValue(boolean... value)
Requires the bootstrap method to bootstrap a method that takes the specified
boolean arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withBooleanValue(boolean... value)
Requires the bootstrap method to bootstrap a method that takes the specified
boolean arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withByteValue(byte... value)
Requires the bootstrap method to bootstrap a method that takes the specified
byte arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withByteValue(byte... value)
Requires the bootstrap method to bootstrap a method that takes the specified
byte arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withCharacterValue(char... value)
Requires the bootstrap method to bootstrap a method that takes the specified
char arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withCharacterValue(char... value)
Requires the bootstrap method to bootstrap a method that takes the specified
char arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withDoubleValue(double... value)
Requires the bootstrap method to bootstrap a method that takes the specified
double arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withDoubleValue(double... value)
Requires the bootstrap method to bootstrap a method that takes the specified
double arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withEnumeration(EnumerationDescription... enumerationDescription)
Hands the provided enumerations to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withEnumeration(EnumerationDescription... enumerationDescription)
Hands the provided enumerations to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.withField(FieldLocator.Factory fieldLocatorFactory,
String... name)
Passes the values of the specified fields to the bootstrap method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withField(FieldLocator.Factory fieldLocatorFactory,
String... name)
Passes the values of the specified fields to the bootstrap method.
|
InvokeDynamic |
InvokeDynamic.withField(String... name)
Passes the values of the specified fields to the bootstrap method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withField(String... fieldName)
Passes the values of the specified fields to the bootstrap method.
|
InvokeDynamic |
InvokeDynamic.withFloatValue(float... value)
Requires the bootstrap method to bootstrap a method that takes the specified
float arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withFloatValue(float... value)
Requires the bootstrap method to bootstrap a method that takes the specified
float arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withImplicitAndMethodArguments()
Adds a potential
this reference and all method arguments to the the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withImplicitAndMethodArguments()
Adds a potential
this reference and all method arguments to the the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.withInstance(JavaConstant... javaConstant)
Hands the provided Java instance to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withInstance(JavaConstant... javaConstant)
Hands the provided Java instance to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.withIntegerValue(int... value)
Requires the bootstrap method to bootstrap a method that takes the specified
int arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withIntegerValue(int... value)
Requires the bootstrap method to bootstrap a method that takes the specified
int arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withLongValue(long... value)
Requires the bootstrap method to bootstrap a method that takes the specified
long arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withLongValue(long... value)
Requires the bootstrap method to bootstrap a method that takes the specified
long arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withMethodArguments()
Adds all method arguments to the the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withMethodArguments()
Adds all method arguments to the the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.withNullValue(Class<?>... type)
Passes
null values of the given types to the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withNullValue(Class<?>... type)
Passes
null values of the given types to the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.withNullValue(TypeDescription... typeDescription)
Passes
null values of the given types to the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withNullValue(TypeDescription... typeDescription)
Passes
null values of the given types to the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.WithImplicitArguments.withoutArguments()
Returns an instance of this instrumentation where the bootstrapped method is not passed any arguments.
|
InvokeDynamic |
InvokeDynamic.withReference(Object... value)
Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withReference(Object... value)
Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.
|
InvokeDynamic |
InvokeDynamic.withShortValue(short... value)
Requires the bootstrap method to bootstrap a method that takes the specified
short arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withShortValue(short... value)
Requires the bootstrap method to bootstrap a method that takes the specified
short arguments
as its next parameters. |
InvokeDynamic |
InvokeDynamic.withThis(Class<?>... type)
Passes references to
this onto the operand stack where the instance is represented as
the given types. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withThis(Class<?>... type)
Passes references to
this onto the operand stack where the instance is represented as
the given types. |
InvokeDynamic |
InvokeDynamic.withThis(TypeDescription... typeDescription)
Passes references to
this onto the operand stack where the instance is represented as
the given types. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withThis(TypeDescription... typeDescription)
Passes references to
this onto the operand stack where the instance is represented as
the given types. |
InvokeDynamic |
InvokeDynamic.withType(TypeDescription... typeDescription)
Hands the provided types to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withType(TypeDescription... typeDescription)
Hands the provided types to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.withValue(Object... value)
Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withValue(Object... value)
Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.
|
Copyright © 2014–2019. All rights reserved.