code: public Name name(String name) {
      switch (name) {
        case "":
          return Name.EMPTY;
        case ".":
          return Name.SELF;
        case "..":
          return Name.PARENT;
        default:
          String display = PathNormalization.normalize(name, displayNormalizations);
          String canonical = PathNormalization.normalize(name, canonicalNormalizations);
          return Name.create(display, canonical);
      }
    }
docs: Returns the {@link Name} form of the given string.