@Override
  public @NotNull IntentionPreviewInfo generatePreview(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
    PsiElement leaf = file.findElementAt(editor.getCaretModel().getOffset());
    if (leaf == null) return IntentionPreviewInfo.EMPTY;
    PsiModifierListOwner owner = ObjectUtils.tryCast(leaf.getParent(), PsiModifierListOwner.class);
    if (owner == null) return IntentionPreviewInfo.EMPTY;
    doMakeAnnotationExplicit(project, owner, getAnnotationsToAdd(owner));
    return IntentionPreviewInfo.DIFF;
  }
@Override
  public @NotNull IntentionPreviewInfo generatePreview(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file)