@Override
    public void visitYieldStatement(@NotNull PsiYieldStatement statement) {
      final PsiSwitchExpression enclosingExpression = statement.findEnclosingExpression();
      if (!isInside(enclosingExpression)) {
        addSideEffect();
        return;
      }
      super.visitYieldStatement(statement);
    }
@Override
    public void visitYieldStatement(@NotNull PsiYieldStatement statement)