mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJ-CR-175794 [java-inspection] IDEA-379192 Type pattern switch statements: IDEA code inspection fails to consider inheritance
- add javadoc GitOrigin-RevId: ab24dbc69c273a884dc79c36940f9373ba7d7256
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c7fde2ed8c
commit
becdcec3f7
+4
@@ -600,6 +600,10 @@ public final class DuplicateBranchesInSwitchInspection extends LocalInspectionTo
|
||||
private final boolean myIsDefault;
|
||||
private DuplicatesFinder myFinder;
|
||||
protected final boolean myCanDeleteRedundantBranch;
|
||||
/**
|
||||
* Represents the context in which this branch is defined.
|
||||
* It can contain any element inside the current branch.
|
||||
*/
|
||||
private final PsiElement myContext;
|
||||
|
||||
BranchBase(@NotNull PsiElement context, T @NotNull [] labels, PsiStatement @NotNull [] statements, String @NotNull [] commentTexts) {
|
||||
|
||||
Reference in New Issue
Block a user