@Override
    String generate(ChainVariable inVar, StreamToLoopReplacementContext context) {
      createVariable(context, inVar.getName());
      return myVariable.getDeclaration(myMapper.getText()) + myDownstream.generate(myVariable, context);
    }
@Override
    String generate(ChainVariable inVar, StreamToLoopReplacementContext context)