public static void renameResourceBundleKey(final @NotNull PsiElement psiElement, final @NotNull Project project) {
    if (psiElement.isValid()) {
      PsiElementRenameHandler.invoke(psiElement, project, psiElement.getContainingFile(), null);
    }
  }
public static void renameResourceBundleKey(final @NotNull PsiElement psiElement, final @NotNull Project project)