Lines Matching refs:receiver

560          * additional receiver argument inserted into the method handle type,
592 * with the receiver type (usually {@code refc}) prepended.
595 * When called, the handle will treat the first argument as a receiver
596 * and dispatch on the receiver's type to determine which method
621 * @param type the type of the method, with the receiver argument omitted
667 * @param type the type of the method, with the receiver argument omitted, and a void return type
689 * with a suitably restricted receiver type (such as {@code caller}) prepended.
693 * When called, the handle will treat the first argument as a receiver,
694 * but will not dispatch on the receiver's type.
707 * @param type the type of the method, with the receiver argument omitted
819 * The receiver must have a supertype {@code defc} in which a method
823 * without any insertion of an additional receiver parameter.
824 * The given receiver will be bound into the method handle,
826 * requested method on the given receiver.
833 * the given receiver value will be bound to it.)
841 MethodHandle mh1 = mh0.{@link MethodHandle#bindTo bindTo}(receiver);
847 * where {@code defc} is either {@code receiver.getClass()} or a super
851 * @param receiver the object from which the method is accessed
853 * @param type the type of the method, with the receiver argument omitted
863 public MethodHandle bind(Object receiver, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException {
864 Class<? extends Object> refc = receiver.getClass(); // may get NPE
868 return mh.bindReceiver(receiver).setVarargs(method);
873 * If <i>m</i> is non-static, the receiver argument is treated as an initial argument.
877 * with the receiver type prepended (but only if it is non-static).
904 * It will bypass checks for overriding methods on the receiver,
907 * with the special caller type prepended (and <em>not</em> the receiver of the method).
1218 // receiver type of mh is too wide; narrow to caller