Uses of Class
net.bytebuddy.implementation.InvokeDynamic
Packages that use InvokeDynamic
Package
Description
The implementation package contains any logic for intercepting method calls.
-
Uses of InvokeDynamic in net.bytebuddy.implementation
Subclasses of InvokeDynamic in net.bytebuddy.implementationModifier and TypeClassDescriptionprotected static class
An abstract delegator that allows to specify a configuration for any specification of an argument.static class
Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method.static class
Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method and where the invocation target is implicit.static class
AnInvokeDynamic
invocation where the last argument is assigned its implicit type.protected static class
An invoke dynamic implementation where the last argument is an implicitly typed method argument.protected static class
An invoke dynamic implementation where the last argument is an implicitly typed field value.protected static class
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.Methods in net.bytebuddy.implementation that return InvokeDynamicModifier and TypeMethodDescriptionRepresents 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.WithImplicitType.OfArgument.as
(TypeDescription typeDescription) InvokeDynamic.WithImplicitType.OfField.as
(TypeDescription typeDescription) InvokeDynamic.WithImplicitType.OfInstance.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.OfArgument.materialize()
protected InvokeDynamic
InvokeDynamic.WithImplicitType.OfField.materialize()
protected InvokeDynamic
InvokeDynamic.WithImplicitType.OfInstance.materialize()
InvokeDynamic.AbstractDelegator.withArgument
(int... index) Passes parameters of the instrumented method to the bootstrapped method.InvokeDynamic.withArgument
(int... index) Passes parameters of the instrumented method to the bootstrapped method.InvokeDynamic.AbstractDelegator.withBooleanValue
(boolean... value) Requires the bootstrap method to bootstrap a method that takes the specifiedboolean
arguments as its next parameters.InvokeDynamic.withBooleanValue
(boolean... value) Requires the bootstrap method to bootstrap a method that takes the specifiedboolean
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withByteValue
(byte... value) Requires the bootstrap method to bootstrap a method that takes the specifiedbyte
arguments as its next parameters.InvokeDynamic.withByteValue
(byte... value) Requires the bootstrap method to bootstrap a method that takes the specifiedbyte
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withCharacterValue
(char... value) Requires the bootstrap method to bootstrap a method that takes the specifiedchar
arguments as its next parameters.InvokeDynamic.withCharacterValue
(char... value) Requires the bootstrap method to bootstrap a method that takes the specifiedchar
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withDoubleValue
(double... value) Requires the bootstrap method to bootstrap a method that takes the specifieddouble
arguments as its next parameters.InvokeDynamic.withDoubleValue
(double... value) Requires the bootstrap method to bootstrap a method that takes the specifieddouble
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withEnumeration
(EnumerationDescription... enumerationDescription) Hands the provided enumerations to the dynamically bound method.InvokeDynamic.withEnumeration
(EnumerationDescription... enumerationDescription) Hands the provided enumerations to the dynamically bound method.Passes the values of the specified fields to the bootstrap method.InvokeDynamic.AbstractDelegator.withField
(FieldLocator.Factory fieldLocatorFactory, String... name) Passes the values of the specified fields to the bootstrap method.Passes the values of the specified fields to the bootstrap method.InvokeDynamic.withField
(FieldLocator.Factory fieldLocatorFactory, String... name) Passes the values of the specified fields to the bootstrap method.InvokeDynamic.AbstractDelegator.withFloatValue
(float... value) Requires the bootstrap method to bootstrap a method that takes the specifiedfloat
arguments as its next parameters.InvokeDynamic.withFloatValue
(float... value) Requires the bootstrap method to bootstrap a method that takes the specifiedfloat
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withImplicitAndMethodArguments()
Adds a potentialthis
reference and all method arguments to the the bootstrapped method.InvokeDynamic.withImplicitAndMethodArguments()
Adds a potentialthis
reference and all method arguments to the the bootstrapped method.InvokeDynamic.AbstractDelegator.withInstance
(JavaConstant... javaConstant) Hands the provided Java instance to the dynamically bound method.InvokeDynamic.withInstance
(ConstantValue... constant) Hands the provided Java instance to the dynamically bound method.InvokeDynamic.withInstance
(JavaConstant... constant) Hands the provided Java instance to the dynamically bound method.InvokeDynamic.AbstractDelegator.withIntegerValue
(int... value) Requires the bootstrap method to bootstrap a method that takes the specifiedint
arguments as its next parameters.InvokeDynamic.withIntegerValue
(int... value) Requires the bootstrap method to bootstrap a method that takes the specifiedint
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withLongValue
(long... value) Requires the bootstrap method to bootstrap a method that takes the specifiedlong
arguments as its next parameters.InvokeDynamic.withLongValue
(long... value) Requires the bootstrap method to bootstrap a method that takes the specifiedlong
arguments as its next parameters.InvokeDynamic.AbstractDelegator.withMethodArguments()
Adds all method arguments to the the bootstrapped method.InvokeDynamic.withMethodArguments()
Adds all method arguments to the the bootstrapped method.InvokeDynamic.AbstractDelegator.withNullValue
(Class<?>... type) Passesnull
values of the given types to the bootstrapped method.InvokeDynamic.AbstractDelegator.withNullValue
(TypeDescription... typeDescription) Passesnull
values of the given types to the bootstrapped method.InvokeDynamic.withNullValue
(Class<?>... type) Passesnull
values of the given types to the bootstrapped method.InvokeDynamic.withNullValue
(TypeDescription... typeDescription) Passesnull
values of the given types to the bootstrapped method.InvokeDynamic.WithImplicitArguments.withoutArguments()
Returns an instance of this instrumentation where the bootstrapped method is not passed any arguments.InvokeDynamic.AbstractDelegator.withReference
(Object... value) Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.InvokeDynamic.withReference
(Object... value) Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.InvokeDynamic.AbstractDelegator.withShortValue
(short... value) Requires the bootstrap method to bootstrap a method that takes the specifiedshort
arguments as its next parameters.InvokeDynamic.withShortValue
(short... value) Requires the bootstrap method to bootstrap a method that takes the specifiedshort
arguments as its next parameters.Passes references tothis
onto the operand stack where the instance is represented as the given types.InvokeDynamic.AbstractDelegator.withThis
(TypeDescription... typeDescription) Passes references tothis
onto the operand stack where the instance is represented as the given types.Passes references tothis
onto the operand stack where the instance is represented as the given types.InvokeDynamic.withThis
(TypeDescription... typeDescription) Passes references tothis
onto the operand stack where the instance is represented as the given types.InvokeDynamic.AbstractDelegator.withType
(TypeDescription... typeDescription) Hands the provided types to the dynamically bound method.InvokeDynamic.withType
(TypeDescription... typeDescription) Hands the provided types to the dynamically bound method.Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters.