List<SwitchReplacer> (@NotNull PsiStatement statement, boolean isExhaustive, @NotNull List<OldSwitchStatementBranch> branches, int maxNumberStatementsForExpression) { List<SwitchReplacer> replacers = new ArrayList<>(); for (SwitchConversion inspection : ourInspections) { SwitchReplacer replacer = inspection.suggestReplacer(statement, branches, isExhaustive, maxNumberStatementsForExpression); if (replacer != null) { replacers.add(replacer); } } return replacers; }