void () { assertQuickfixNotAvailable(InspectionGadgetsBundle.message("smth.unnecessary.remove.quickfix", "break"), """ class X { public void printName(String[] names) { label: for (String name : names) { switch (name) { case "A" -> { System.out.println("A"); break/**/ label; } default -> { System.out.println("Default"); break label; } } } } } """); }