private boolean isWarningLevel(@NotNull SwitchReplacer replacer) {
        if (replacer.isInformLevel()) {
          return false;
        }
        return !(myWarnOnlyOnExpressionConversion && replacer.getType() == ReplacementType.Statement);
      }
private boolean isWarningLevel(@NotNull SwitchReplacer replacer)