IntentionPreviewInfo (@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) { PsiElement element = PsiTreeUtil.findSameElementInCopy(getElement(), file); List<PsiClass> targetClasses = filterTargetClasses(element, project); if (targetClasses.isEmpty()) return IntentionPreviewInfo.EMPTY; invokeImpl(targetClasses.get(0)); return IntentionPreviewInfo.DIFF; }