| Modifier and Type | Class and Description |
|---|---|
| protected abstract static class | InvokeDynamic.
An abstract delegator that allows to specify a configuration for any specification of an argument. |
| protected class | InvokeDynamic.
The byte code appender to be used by the |
| protected static interface | InvokeDynamic.
An invocation provider is responsible for loading the arguments of the invoked method onto the operand stack and for creating the actual invoke dynamic instruction. |
| protected static enum | InvokeDynamic.
A termination handler is responsible to handle the return value of a method that is invoked via a
|
| public static class | InvokeDynamic.
Representation of an |
| public static class | InvokeDynamic.
Representation of an |
| public abstract static class | InvokeDynamic.
An |
| Modifier and Type | Field and Description |
|---|---|
| protected final List | arguments
The arguments that are provided to the bootstrap method. |
| protected final Assigner | assigner
The assigner to be used. |
| protected final MethodDescription. | bootstrap
The bootstrap method. |
| protected final InvokeDynamic. | invocationProvider
The target provided that identifies the method to be bootstrapped. |
| protected final InvokeDynamic. | terminationHandler
A handler that handles the method return. |
| protected final Assigner. | typing
Indicates if dynamic type castings should be attempted for incompatible assignments. |
| Access | Constructor and Description |
|---|---|
| protected | InvokeDynamic(MethodDescription.
The bootstrap method. bootstrap,The arguments that are provided to the bootstrap method. arguments, InvokeDynamic.The target provided that identifies the method to be bootstrapped. invocationProvider,A handler that handles the method return. terminationHandler,The assigner to be used. assigner, Assigner.Indicates if dynamic type castings should be attempted for incompatible assignments. typingCreates a new invoke dynamic implementation. |
| Modifier and Type | Method and Description |
|---|---|
| public Implementation | andThen(Implementation
The subsequent implementation. implementation)Implements org. |
| public Implementation. | andThen(Implementation.
The subsequent composable implementation. implementationImplements org. |
| public ByteCodeAppender | appender(Implementation.
The target of the current implementation. implementationTargetImplements org. |
| public static InvokeDynamic. | Returns: An implementation where athis reference, if available, and all arguments of the
instrumented method are passed to the bootstrapped method unless explicit parameters are specified.The bootstrap method that is used to link the instrumented method. method, Object... The constant values passed to the bootstrap method. Values can be represented either
as constant)TypeDescription, as JavaConstant, as String or a primitive
int, long, float or double represented as wrapper type.Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method. |
| public static InvokeDynamic. | Returns: An implementation where athis reference, if available, and all arguments of the
instrumented method are passed to the bootstrapped method unless explicit parameters are specified.The bootstrap method that is used to link the instrumented method. method, List<?> The constant values passed to the bootstrap method. Values can be represented either
as constants)TypeDescription, as JavaConstant, as String or a primitive
int, long, float or double represented as wrapper type.Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method. |
| public static InvokeDynamic. | Returns: An implementation where athis reference, if available, and all arguments of the
instrumented method are passed to the bootstrapped method unless explicit parameters are specified.The bootstrap constructor that is used to link the instrumented method. constructor, Object... The constant values passed to the bootstrap method. Values can be represented either
as constant)TypeDescription, as JavaConstant, as String or a primitive
int, long, float or double represented as wrapper type.Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap constructor. |
| public static InvokeDynamic. | Returns: An implementation where athis reference, if available, and all arguments of the
instrumented method are passed to the bootstrapped method unless explicit parameters are specified.The bootstrap constructor that is used to link the instrumented method. constructor, List<?> The constant values passed to the bootstrap method. Values can be represented either
as constants)TypeDescription, as JavaConstant, as String or a primitive
int, long, float or double represented as wrapper type.Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap constructor. |
| public static InvokeDynamic. | Returns: An implementation where athis reference, if available, and all arguments of the
instrumented method are passed to the bootstrapped method unless explicit parameters are specified.The bootstrap method or constructor that is used to link the instrumented method. bootstrap,The constant values passed to the bootstrap method. Values can be represented either
as constant)TypeDescription, as JavaConstant, as String or a primitive
int, long, float or double represented as wrapper type.Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method or constructor. |
| public static InvokeDynamic. | Returns: An implementation where athis reference, if available, and all arguments of the
instrumented method are passed to the bootstrapped method unless explicit parameters are specified.The bootstrap method or constructor that is used to link the instrumented method. bootstrap,The constant values passed to the bootstrap method. Values can be represented either
as constants)TypeDescription, as JavaConstant, as String or a primitive
int, long, float or double represented as wrapper type.Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method or constructor. |
| public static InvokeDynamic. | |
| public static InvokeDynamic. | Returns: A builder for creating a lambda expression.The method that implements the lambda expression. method, Type The functional interface that is an instance of the lambda expression. functionalInterface, MethodGraph.The method graph compiler to use. methodGraphCompilerCreates a lambda expression using the JVM's lambda meta factory. |
| public static InvokeDynamic. | Returns: A builder for creating a lambda expression.The method that implements the lambda expression. methodDescription,The functional interface that is an instance of the lambda expression. functionalInterface)Creates a lambda expression using the JVM's lambda meta factory. |
| public static InvokeDynamic. | Returns: A builder for creating a lambda expression.The method that implements the lambda expression. methodDescription,The functional interface that is an instance of the lambda expression. functionalInterface, MethodGraph.The method graph compiler to use. methodGraphCompilerCreates a lambda expression using the JVM's lambda meta factory. |
| public InstrumentedType | prepare(InstrumentedType
The instrumented type in its current form. instrumentedType)Implements org. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The indices of the parameters that should be passed to the bootstrapped method. index)Passes parameters of the instrumented method to the bootstrapped method. |
| public InvokeDynamic. | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified argument with its implicit type.The index of the parameter that should be passed to the bootstrapped method. index)Passes a parameter of the instrumented method to the bootstrapped method. |
| public Implementation. | Returns: The invoke dynamic instruction where the given assigner and dynamic-typing directive are applied.The assigner to use. assigner, Assigner.true if the assigner should attempt dynamic typing.Instructs this implementation to use the provided assigner and decides if the assigner should apply dynamic typing. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified enumerations.The enumeration values to provide to the bound method as an argument. enumerationDescription)Hands the provided enumerations to the dynamically bound method. |
| public InvokeDynamic | |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The field locator factory to use. fieldLocatorFactory,The names of the fields to be passed to the bootstrapped method. name)Passes the values of the specified fields to the bootstrap method. |
| public InvokeDynamic. | |
| public InvokeDynamic. | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The names of the fields to be passed to the bootstrapped method. name, FieldLocator.The field locator factory to use. fieldLocatorFactoryPasses the values of the specified fields to the bootstrap method. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation with a potentialthis reference and all
parameters of the instrumented method added.Adds a potential |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified Java instance.The constants to provide to the bound method as an argument. constant)Hands the provided Java instance to the dynamically bound method. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified Java instance.The constants to provide to the bound method as an argument. constant)Hands the provided Java instance to the dynamically bound method. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | Returns: This invoke dynamic implementation with all parameters of the instrumented method added.Adds all method arguments to the the bootstrapped method. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The type that the type)null values should represent.Passes |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The type that the typeDescription)null values should represent.Passes |
| public InvokeDynamic. | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified argument as its next parameter while allowing to specify the value to be of a different type than the actual instance type. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified arguments as its next parameters. |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified arguments.The arguments to pass to the bootstrapped method. value)Requires the bootstrap method to bootstrap a method that takes the specified |
| public InvokeDynamic | |
| public InvokeDynamic | Returns: This implementation wherethis references are passed as the next arguments.The types as which the typeDescription)this reference of the intercepted method should be masked.Passes references to |
| public InvokeDynamic | Returns: This invoke dynamic implementation where the bootstrapped method is passed the specified type.The classes to provide to the bound method as an argument. typeDescription)Hands the provided types to the dynamically bound method. |
| public InvokeDynamic |