@Override
  public void invoke(final @NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
    final PsiElement leaf = file.findElementAt(editor.getCaretModel().getOffset());
    assert leaf != null;
    final PsiModifierListOwner owner = ObjectUtils.tryCast(leaf.getParent(), PsiModifierListOwner.class);
    assert owner != null;
    if (myNeedToAddDependency) {
      makeAnnotationsExplicit(project, file, owner);
    } else {
      doMakeAnnotationExplicit(project, owner, getAnnotationsToAdd(owner));
    }
  }
@Override
  public void invoke(final @NotNull Project project, Editor editor, PsiFile file)