mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 21:28:11 +07:00
GitOrigin-RevId: 12e91605bf8901d98d56b8d8dc3a348d4b1ae935
18 lines
371 B
Java
18 lines
371 B
Java
public class TestSwitchSelect
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
switch (type) {
|
|
case 1:
|
|
// Selectable
|
|
break;
|
|
|
|
case 2:
|
|
<selection> // Not selectable<caret>
|
|
break;
|
|
</selection> default:
|
|
// Gets selected along with case 2
|
|
break;
|
|
}
|
|
}
|
|
} |