@Override
    String generate(ChainVariable inVar, StreamToLoopReplacementContext context) {
      myMapper.transform(context, inVar.getName());
      ChainVariable updatedVar = new ChainVariable(myMapper.getResultType(), myMapper.getText());
      return myDownstream.generate(updatedVar, context);
    }
@Override
    String generate(ChainVariable inVar, StreamToLoopReplacementContext context)