private static boolean isReserved(Name name) {
    // all "." and ".." names are canonicalized to the same objects, so we can use identity
    return name == Name.SELF || name == Name.PARENT;
  }
Returns true if the given name is "." or "..".
jimfs/src/main/java/com/google/common/jimfs/Directory.java