mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 20:50:54 +07:00
- not show used patterns - prioritize for rules - support smart mode GitOrigin-RevId: 647d1c3cbe51d46cf97c7c2ac95e9f0fd0dd4220
15 lines
240 B
Java
15 lines
240 B
Java
|
|
class Main {
|
|
|
|
sealed interface I{
|
|
final class A implements I{}
|
|
final class B implements I{}
|
|
final class C implements I{}
|
|
}
|
|
void f(I o) {
|
|
switch (o) {
|
|
case I.C C -> System.out.println();
|
|
<caret>
|
|
}
|
|
}
|
|
} |