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.WithImplicitArgumentType
An invoke dynamic implementation where the last argument is an implicitly typed method argument.
|
static class |
InvokeDynamic.WithImplicitFieldType
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.
|
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. |
Modifier and Type | Method and Description |
---|---|
InvokeDynamic |
InvokeDynamic.WithImplicitFieldType.as(Class<?> type)
Defines the given value to be treated as an instance of the provided type.
|
InvokeDynamic |
InvokeDynamic.WithImplicitArgumentType.as(Class<?> type)
Defines the given argument to be treated as an instance of the provided type.
|
InvokeDynamic |
InvokeDynamic.WithImplicitFieldType.as(TypeDescription typeDescription)
Defines the given value to be treated as an instance of the provided type.
|
InvokeDynamic |
InvokeDynamic.WithImplicitArgumentType.as(TypeDescription typeDescription)
Defines the given argument to be treated as an instance of the provided type.
|
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.WithImplicitFieldType.materialize() |
protected InvokeDynamic |
InvokeDynamic.WithImplicitArgumentType.materialize() |
InvokeDynamic |
InvokeDynamic.withArgument(int... index)
Passes parameters of the instrumented method to the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withArgument(int... index) |
InvokeDynamic |
InvokeDynamic.withAssigner(Assigner assigner,
Assigner.Typing typing)
Instructs this implementation to use the provided assigner and decides if the assigner should apply
dynamic typing.
|
InvokeDynamic |
InvokeDynamic.WithImplicitFieldType.withAssigner(Assigner assigner,
Assigner.Typing typing) |
InvokeDynamic |
InvokeDynamic.WithImplicitArgumentType.withAssigner(Assigner assigner,
Assigner.Typing typing) |
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) |
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) |
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) |
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) |
InvokeDynamic |
InvokeDynamic.withEnumeration(EnumerationDescription... enumerationDescription)
Hands the provided enumerations to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.withField(String... fieldName)
Passes the values of the specified fields to the bootstrap method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withField(String... fieldName) |
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) |
InvokeDynamic |
InvokeDynamic.withImplicitAndMethodArguments()
Adds a potential
this reference and all method arguments to the the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withImplicitAndMethodArguments() |
InvokeDynamic |
InvokeDynamic.withInstance(JavaInstance... javaInstance)
Hands the provided Java instance to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withInstance(JavaInstance... javaInstance) |
InvokeDynamic |
InvokeDynamic.withInstanceField(String fieldName,
Class<?> fieldType)
Passes the value of the specified instance field to the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withInstanceField(String fieldName,
Class<?> fieldType) |
InvokeDynamic |
InvokeDynamic.withInstanceField(String fieldName,
TypeDescription fieldType)
Passes the value of the specified instance field to the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withInstanceField(String fieldName,
TypeDescription fieldType) |
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) |
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) |
InvokeDynamic |
InvokeDynamic.withMethodArguments()
Adds all method arguments to the the bootstrapped method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withMethodArguments() |
InvokeDynamic |
InvokeDynamic.withNullValue(Class<?>... type)
Passes
null values of the given types to the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withNullValue(Class<?>... type) |
InvokeDynamic |
InvokeDynamic.withNullValue(TypeDescription... typeDescription)
Passes
null values of the given types to the bootstrapped method. |
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withNullValue(TypeDescription... typeDescription) |
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) |
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) |
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) |
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) |
InvokeDynamic |
InvokeDynamic.withType(TypeDescription... typeDescription)
Hands the provided types to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withType(TypeDescription... typeDescription) |
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) |
Copyright © 2014–2015. All rights reserved.