@Override
  public @NotNull PatternBasedPackageSet updatePattern(@NotNull String oldName, @NotNull String newName) {
    return new FilePatternPackageSet(myModulePatternText, myPathPattern.replace(oldName, newName), myProjectFiles);
  }
@Override
  public @NotNull PatternBasedPackageSet updatePattern(@NotNull String oldName, @NotNull String newName)