nitc :: MClass :: collect_redef_inits
self
# Collect all init methods redefined in `self`
fun collect_redef_inits(filter: nullable ModelFilter): Set[MMethod] do
var res = new HashSet[MMethod]
for mproperty in collect_redef_mmethods(filter) do
if mproperty.is_init then res.add(mproperty)
end
return res
end
src/model/model_collect.nit:884,2--891,4