Class InvokeDynamic.WithImplicitType.OfInstance

    • Field Detail

      • value

        private final java.lang.Object value
        The value that is supplied as the next argument to the bootstrapped method.
    • Constructor Detail

      • OfInstance

        protected OfInstance​(MethodDescription.InDefinedShape bootstrapMethod,
                             java.util.List<?> handleArguments,
                             InvokeDynamic.InvocationProvider invocationProvider,
                             InvokeDynamic.TerminationHandler terminationHandler,
                             Assigner assigner,
                             Assigner.Typing typing,
                             java.lang.Object value)
        Creates a new invoke dynamic instance with an implicit field type for the provided value.
        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.
        value - The value that is supplied as the next argument to the bootstrapped method.