Replacer (@NotNull PsiSwitchBlock block) { Replacer replacer; replacer = inspectReturningSwitch(block); if (replacer != null) return replacer; replacer = inspectVariableSavingSwitch(block); if (replacer != null) return replacer; replacer = inspectSwitchStatement(block); if (replacer != null) return replacer; replacer = inspectAssignmentSwitch(block); if (replacer != null) return replacer; return null; }