[intention-preview] AbstractCreateFileFix: avoid SafeField warning

GitOrigin-RevId: 8b883e20d1a0e570ea4b91953df01025feff549d
This commit is contained in:
Tagir Valeev
2022-08-12 09:31:03 +00:00
committed by intellij-monorepo-bot
parent 3227e830d2
commit 6972ccac80
@@ -4,6 +4,7 @@ package com.intellij.codeInsight.daemon.quickFix;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.codeInsight.intention.preview.IntentionPreviewInfo;
import com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.application.ApplicationManager;
@@ -73,6 +74,13 @@ public abstract class AbstractCreateFileFix extends LocalQuickFixAndIntentionAct
myKey = fixLocaleKey;
}
/**
* {@inheritDoc}
* Must be implemented, as default implementation won't work anyway
*/
@Override
abstract public @NotNull IntentionPreviewInfo generatePreview(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file);
@Override
public boolean isAvailable(@NotNull Project project,
@NotNull PsiFile file,