code: public PathMatcher createPathMatcher(String syntaxAndPattern) {
      return PathMatchers.getPathMatcher(
          syntaxAndPattern, type.getSeparator() + type.getOtherSeparators(), displayNormalizations);
    }
docs: Returns a {@link PathMatcher} for the given syntax and pattern as specified by {@link
  FileSystem#getPathMatcher(String)}.