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