@Override
  public void visitSwitchLabelStatement(@NotNull PsiSwitchLabelStatement statement) {
    super.visitSwitchLabelStatement(statement);
    final PsiExpression caseValue = statement.getCaseValue();
    if (caseValue != null) {
      final TypeView typeView = new TypeView(caseValue);
      if (typeView.isChanged()) {
        final PsiSwitchStatement switchStatement = statement.getEnclosingSwitchStatement();
        if (switchStatement != null) {
          final PsiExpression expression = switchStatement.getExpression();
          if (expression != null) {
            myLabeler.migrateExpressionType(expression, typeView.getType(), myStatement, false, false);
          }
        }
      }
    }
  }
@Override
  public void visitSwitchLabelStatement(@NotNull PsiSwitchLabelStatement statement)