List<ExternalTestSourceMapping> (IonReader reader, ReadContext context) { List<ExternalTestSourceMapping> list = new ArrayList<>(); reader.next(); reader.stepIn(); ExternalTestSourceMapping testSourceMapping; while ((testSourceMapping = readTestSourceMapping(reader, context)) != null) { list.add(testSourceMapping); } reader.stepOut(); return list; }