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