@Override
  public void postProcess(@NotNull PsiElement affectedElement, @NotNull ReplaceOptions options) {
    if (!affectedElement.isValid()) {
      return;
    }
    if (myReplaceOptions.isToUseStaticImport()) {
      shortenWithStaticImports(affectedElement, 0, affectedElement.getTextLength());
    }
    if (myReplaceOptions.isToShortenFQN()) {
      final JavaCodeStyleManager codeStyleManager = JavaCodeStyleManager.getInstance(affectedElement.getProject());
      codeStyleManager.shortenClassReferences(affectedElement, 0, affectedElement.getTextLength());
    }
  }
@Override
  public void postProcess(@NotNull PsiElement affectedElement, @NotNull ReplaceOptions options)