List<InternalIdeaDependency> (IonReader reader, ReadContext context) { reader.next(); assertFieldName(reader, "dependencies"); reader.stepIn(); List<InternalIdeaDependency> dependencies = new ArrayList<>(); InternalIdeaDependency dependency; while ((dependency = readDependency(reader, context)) != null) { dependencies.add(dependency); } reader.stepOut(); return dependencies; }