code: public static <R> Function<Object,R[]> methodForArrayOf(final Type<R> resultType, final String methodName, final Object... optionalParameters) {
          return new Call<Object,R[]>(Types.arrayOf(resultType), methodName, VarArgsUtil.asOptionalObjectArray(Object.class,optionalParameters));
      }
docs: <p>
  Executes a method on the target object which returns R[], being <tt>R</tt> the
  specified type parameter. Parameters must match those of the method.
  </p>
  
  @param resultType the type of the method's result
  @param methodName the name of the method
  @param optionalParameters the (optional) parameters of the method.
  @return the result of the method execution