@Override
  public final void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
    if (editor == null || file == null) return;

    PsiElement element = getElement(editor, file);
    if (element == null) return;

    invoke(project, editor, element);
  }
@Override
  public final void invoke(@NotNull Project project, Editor editor, PsiFile file)