Class InvokeDynamic.WithImplicitType.OfField

    • Constructor Detail

      • OfField

        protected OfField​(MethodDescription.InDefinedShape bootstrapMethod,
                          java.util.List<?> handleArguments,
                          InvokeDynamic.InvocationProvider invocationProvider,
                          InvokeDynamic.TerminationHandler terminationHandler,
                          Assigner assigner,
                          Assigner.Typing typing,
                          java.lang.String fieldName,
                          FieldLocator.Factory fieldLocatorFactory)
        Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type.
        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.
        fieldName - The field name.
        fieldLocatorFactory - The field locator factory to use.