Assert.isLegal(parentElement instanceof MavenCoordinates, "parent of artifact should always be another artififact");
dgraph.addEdge(thisElement, parentElement);
}
}
} else if (qName.equals("type")) {
ExternalType type = ExternalType_parse(attributes.getValue("id"));
thisElement = type;
Assert.isLegal(parentElement instanceof MavenCoordinates, "parent of a type should be an artifact (that contains it) but it was: "+parentElement);
dgraph.addEdge(thisElement, parentElement);
}
//else { ... something we don't care about ... }