Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
redundantLabeledSwitchRuleCodeBlockFix
/
beforeConstInExpression.java
blob: 428259580d9ad1139deb448d12f9b80c6a00222d [
file
]
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
class
C
{
String
foo
(
int
n
)
{
return
switch
(
n
)
{
case
1
->
/*1*/
{
/*2*/
<
caret
>
yield
/*3*/
"a"
/*4*/
;
/*5*/
}
/*6*/
default
->
"b"
;
};
}
}