mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
also fixes internationalization and the incorrect comma in the name for "Create missing switch branches" quick-fix GitOrigin-RevId: 16285e054447d8d15318df8889499bbbf91243a7
19 lines
292 B
Java
19 lines
292 B
Java
// "Create missing and 'null' branches" "false"
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
class Test {
|
|
sealed interface SA permits R1, R2 {
|
|
}
|
|
|
|
record R1() implements SA {
|
|
}
|
|
|
|
record R2() implements SA {
|
|
}
|
|
|
|
|
|
public void test(@NotNull SA sa) {
|
|
switch (sa<caret>) {
|
|
}
|
|
}
|
|
} |