/** * Calls the interface method {@code method} of {@code instance} using * {@code args} and assigns the result to {@code target}. * * @param method a method declared on an interface. * @param target the local to receive the method's return value, or {@code * null} if the return type is {@code void} or if its value not needed. */ public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, Local<? extends D> instance, Local<?>... args) { invoke(Rops.opInvokeInterface(method.prototype(true)), method, target, instance, args); }
/** * Calls the interface method {@code method} of {@code instance} using {@code args} and assigns the result to {@code target}. * * @param method * a method declared on an interface. * @param target * the local to receive the method's return value, or {@code null} if the return type is {@code void} or if its value not needed. */ public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, Local<? extends D> instance, Local<?>... args) { invoke(Rops.opInvokeInterface(method.prototype(true)), method, target, instance, args); }
/** * Calls the interface method {@code method} of {@code instance} using * {@code args} and assigns the result to {@code target}. * * @param method a method declared on an interface. * @param target the local to receive the method's return value, or {@code * null} if the return type is {@code void} or if its value not needed. */ public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, Local<? extends D> instance, Local<?>... args) { invoke(Rops.opInvokeInterface(method.prototype(true)), method, target, instance, args); }
public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, Local<? extends D> object, Local<?>... args) { invoke(Rops.opInvokeInterface(method.prototype(true)), method, target, object, args); }
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);
CstType definer = cstMeth.getDefiningClass(); meth = meth.withFirstParameter(definer.getClassType()); return opInvokeInterface(meth);