+ meth_name = "defaultinit"
+ meth = toolcontext.modelbuilder.try_get_mproperty_by_name2( self,
+ mmodule, mtype, meth_name )
+ end
+
+ if meth == null then
+ toolcontext.error(location, "Error: method `{meth_name}` not found in `{n_type.collect_text}`." )