code: protected GroovyExpression generateLoopEmitExpression(GraphPersistenceStrategies s, IDataType dataType) {
          return typeTestExpression(s, dataType.getName(), getCurrentObjectExpression());
      }
docs: Generates the emit expression used in loop expressions.
  @param s
  @param dataType
  @return