Class InvokeDynamic.WithImplicitType.OfField

    • Field Detail

      • fieldName

        private final java.lang.String fieldName
        The field name.
      • fieldLocatorFactory

        private final FieldLocator.Factory fieldLocatorFactory
        The field locator factory to use.
    • Constructor Detail

      • OfField

        protected OfField​(MethodDescription.InDefinedShape bootstrap,
                          java.util.List<?> arguments,
                          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:
        bootstrap - The bootstrap method or constructor.
        arguments - 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.