mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
[java-highlighting] IDEA-299588. generate missed branches fix in switch with deconstruction
GitOrigin-RevId: af4e42198f5bc6dc5c5f505443e2e55085abf196
This commit is contained in:
committed by
intellij-monorepo-bot
parent
51904a60f9
commit
b300b7c1ec
@@ -16,10 +16,7 @@ import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
public abstract class QuickFixFactory {
|
||||
public static QuickFixFactory getInstance() {
|
||||
@@ -478,6 +475,12 @@ public abstract class QuickFixFactory {
|
||||
@NotNull Set<String> missingCases,
|
||||
@NotNull List<String> allNames);
|
||||
|
||||
@Nullable
|
||||
public abstract IntentionAction createAddMissingRecordClassBranchesFix(@NotNull PsiSwitchBlock switchBlock,
|
||||
@NotNull PsiClass selectorType,
|
||||
@NotNull Map<PsiType, Set<List<PsiClass>>> branches,
|
||||
@NotNull List<? extends PsiCaseLabelElement> elements);
|
||||
|
||||
@NotNull
|
||||
public abstract IntentionAction createAddSwitchDefaultFix(@NotNull PsiSwitchBlock switchBlock, @Nullable String message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user