code: public static <R> MethodResult<R> success(R result) {
          return new MethodResult<>(result, null, false);
      }
docs: Create a MethodResult for a method which returned a value
  
  @param result the value returned by the method
  @return the new MethodResult