private static void replace(@Nullable PsiElement original, @NotNull PsiElement replacement, @NotNull String message) {
    assert original != null : message;
    original.replace(replacement);
  }
private static void replace(@Nullable PsiElement original, @NotNull PsiElement replacement, @NotNull String message)