Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
redundantLabeledSwitchRuleCodeBlockFix
/
beforeCallInExpression.java
blob: 4010a8644b417a307f47f5611f143c8d0c7c2f73 [
file
]
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
class
C
{
String
foo
(
int
n
)
{
return
switch
(
n
)
{
case
1
->
{
yield
<
caret
>
Integer
.
toString
(
n
);
}
default
->
"b"
;
};
}
}