@Override
  public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
    PsiMethod method = findMethod(file, editor.getCaretModel().getOffset());
    if (method == null) return;
    if (UIUtil.isShowing(editor.getContentComponent())) {
      invokeHandler(project, editor, method);
    }
  }
@Override
  public void invoke(@NotNull Project project, Editor editor, PsiFile file)