code: private RemoteIterator<LocatedFileStatus> methodBasedListPathWithLocation(
        final String src) throws IOException {
      if (namenodeProtocolProxy.isMethodSupported(
          "getLocatedPartialListing", String.class, byte[].class)) {
        return iteratorListing(src);
      } else {
        return arrayListing(src);
      }
    }
docs: List a directory with location based on method