code: @Override
    public Map<String, byte[]> getXAttrs(Path path, List<String> names) throws IOException {
      logger.atFine().log("GHFS.getXAttrs: %s, %s", path, names);
      checkNotNull(path, "path should not be null");
      checkNotNull(names, "names should not be null");
  
      Map<String, byte[]> xAttrs;
      if (names.isEmpty()) {
        xAttrs = new HashMap<>();
      } else {
        Set<String> namesSet = new HashSet<>(names);
        xAttrs =
            getXAttrs(path).entrySet().stream()
                .filter(a -> namesSet.contains(a.getKey()))
                .collect(HashMap::new, (m, a) -> m.put(a.getKey(), a.getValue()), Map::putAll);
      }
  
      logger.atFine().log("GHFS.getXAttrs:=> %s", xAttrs);
      return xAttrs;
    }
docs: {@inheritDoc}