@Override
  public @Nullable String getErrorMessage(final @NotNull String newName, final @NotNull Project project) {
    return IDENTIFIER_PATTERN.matcher(newName).matches() ? null : YAMLBundle.message("rename.invalid.name", newName);
  }
@Override
  public @Nullable String getErrorMessage(final @NotNull String newName, final @NotNull Project project)