private static Replacer findReplacer(@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;
  }
private static Replacer findReplacer(@NotNull PsiSwitchBlock block)