mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
19 lines
305 B
Java
19 lines
305 B
Java
// "Create missing switch branches with null branch" "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>) {
|
|
}
|
|
}
|
|
} |