for (GoTypeStructAnonymousField anonymousField : type.getAnonymousFields()) {
anonymousField.accept(this);
}
GoTypeStructPromotedFields promotedFields = type.getPromotedFields();
checkIdentifiers(reference.name(), promotedFields.getNamedFields());
for (GoTypeStructAnonymousField anonymousField : promotedFields.getAnonymousFields()) {
anonymousField.accept(this);
}
}
});
}