code: public Collection<CServiceMethod> getMethodsIncludingExtended() {
          CService extended = getExtendsService();
          if (extended == null) {
              return getMethods();
          }
          List<CServiceMethod> out = new ArrayList<>();
          out.addAll(extended.getMethodsIncludingExtended());
          out.addAll(getMethods());
          return ImmutableList.copyOf(out);
      }
docs: Get all methods including methods declared in extended services.
  
  @return The list of service methods.