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