// parent check
if (entity.getParent() == null) {
System.err.println("No parent: " + entity.getUniqueName());
}
if (entity instanceof AbstractFamixVariable) {
AbstractFamixVariable var = (AbstractFamixVariable) entity;
if (var.getDeclaredClass() == null) {
System.err.println("No data type: " + var.getUniqueName());
} else {
if (! aModel.contains(var.getDeclaredClass())) {
System.err.println("Var data type not contained in model: " + var.getUniqueName());
}
}
}
if (entity instanceof FamixMethod) {
FamixMethod func = (FamixMethod) entity;