Class InvokeDynamic.WithImplicitArguments

    • Constructor Detail

      • WithImplicitArguments

        protected WithImplicitArguments​(MethodDescription.InDefinedShape bootstrapMethod,
                                        java.util.List<?> handleArguments,
                                        InvokeDynamic.InvocationProvider invocationProvider,
                                        InvokeDynamic.TerminationHandler terminationHandler,
                                        Assigner assigner,
                                        Assigner.Typing typing)
        Creates a new dynamic method invocation with implicit arguments.
        Parameters:
        bootstrapMethod - The bootstrap method.
        handleArguments - The arguments that are provided to the bootstrap method.
        invocationProvider - The target provided that identifies the method to be bootstrapped.
        terminationHandler - A handler that handles the method return.
        assigner - The assigner to be used.
        typing - Indicates if dynamic type castings should be attempted for incompatible assignments.
    • Method Detail

      • withoutArguments

        public InvokeDynamic withoutArguments()
        Returns an instance of this instrumentation where the bootstrapped method is not passed any arguments.
        Returns:
        This implementation where the bootstrapped method is not passed any arguments.