void (IonReader reader, AbstractExternalDependency dependency) { DefaultExternalDependencyId id = (DefaultExternalDependencyId)dependency.getId(); reader.next(); assertFieldName(reader, "id"); reader.stepIn(); id.setGroup(readString(reader, "group")); id.setName(readString(reader, "name")); id.setVersion(readString(reader, "version")); id.setPackaging(assertNotNull(readString(reader, "packaging"))); id.setClassifier(readString(reader, "classifier")); reader.stepOut(); }