code: public JServiceMethod[] methods() {
          List<CServiceMethod> methods = new ArrayList<>(service.getMethodsIncludingExtended());
  
          CServiceMethod[] ma = methods.toArray(new CServiceMethod[methods.size()]);
          JServiceMethod[] ret = new JServiceMethod[ma.length];
          for (int i = 0; i < methods.size(); ++i) {
              ret[i] = new JServiceMethod(service, ma[i], helper);
          }
          return ret;
      }
docs: All methods that apply for the service.
  
  @return The method array.