code: public ServiceMethod getMethod(String name) {
          for (ServiceMethod serviceMethod : getMethods()) {
              if (serviceMethod.getName().equals(name)) {
                  return serviceMethod;
              }
          }
          return null;
      }
docs: Get a service method by it's name.