self
# Collect all propierty definitions that are redefinition in `self`
fun collect_redef_mpropdefs(filter: nullable ModelFilter): Set[MPropDef] do
var set = new HashSet[MPropDef]
for mclassdef in mclassdefs do
for mpropdef in mclassdef.mpropdefs do
if mpropdef.is_intro then continue
if filter == null or filter.accept_mentity(mpropdef) then set.add(mpropdef)
end
end
return set
end
src/model/model_collect.nit:728,2--738,4