Files
openide/java/java-tests/testData/inspection/redundantLabeledSwitchRuleCodeBlockFix/beforeCallInStatement.java
Anna Kozlova e9b02eb233 [java] get rid of ProblemHighlightType.LIKE_UNUSED_SYMBOL in favor of editor attributes (IDEA-27007)
GitOrigin-RevId: 950de9dbd0cf727c6baa7363783e1723fb398a62
2022-04-26 11:39:49 +00:00

10 lines
256 B
Java

// "Unwrap code block of labeled rule" "GENERIC_ERROR_OR_WARNING"
class C {
void foo(int n) {
String s;
switch (n) {
case 1 -> <caret>{ System.out.println(n); }
default -> System.out.println();
};
}
}