[java-highlighting] Provide fix "Move switch branch '...' before '...'" for "Label is dominated by a preceding case label" error

IDEA-272296

GitOrigin-RevId: 70c062f7d125c9b6116bd7e141da920f667f7c54
This commit is contained in:
Andrey.Cherkasov
2021-10-05 07:22:29 +03:00
committed by intellij-monorepo-bot
parent c6dcda1436
commit c38121fc35
10 changed files with 150 additions and 3 deletions

View File

@@ -549,4 +549,8 @@ public abstract class QuickFixFactory {
@Nullable
public abstract IntentionAction createMergeDuplicateAttributesFix(@NotNull PsiNameValuePair pair);
@NotNull
public abstract IntentionAction createMoveSwitchBranchUpFix(@NotNull PsiCaseLabelElement moveBeforeLabel,
@NotNull PsiCaseLabelElement labelElement);
}