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