@Override
    String generate(ChainVariable inVar, StreamToLoopReplacementContext context) {
      return context.assignAndBreak(new ConditionalExpression.Optional(myType, "found", inVar.getName()));
    }
@Override
    String generate(ChainVariable inVar, StreamToLoopReplacementContext context)