mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
also fixes internationalization and the incorrect comma in the name for "Create missing switch branches" quick-fix GitOrigin-RevId: 16285e054447d8d15318df8889499bbbf91243a7
14 lines
269 B
Java
14 lines
269 B
Java
// "Create missing branch 'Outer.Book'" "true-preview"
|
|
class Outer {
|
|
interface SaleItem permits Book {
|
|
}
|
|
|
|
record Book(String title, String author, double price) implements SaleItem {
|
|
}
|
|
|
|
|
|
int calc(SaleItem item) {
|
|
return switch (it<caret>em) {
|
|
};
|
|
}
|
|
} |