self
# Collect all classes introduced in `self`
fun collect_intro_mclasses(filter: nullable ModelFilter): HashSet[MClass] do
var res = new HashSet[MClass]
for mgroup in mgroups do
for mmodule in collect_all_mmodules(filter) do
res.add_all mmodule.collect_intro_mclasses(filter)
end
end
return res
end
src/model/model_collect.nit:328,2--337,4