Build the write method signature

except: mwritepropdef != null expect: mtype != null

Property definitions

nitc :: modelize_property $ AAttrPropdef :: build_write_signature
	# Build the write method signature
	# `except`: mwritepropdef != null
	# `expect`: mtype != null
	fun build_write_signature
	is
		expect(mwritepropdef != null and mtype != null)
	do
		var mwritetype = mtype.as(not null)
		if is_optional then
			mwritetype = mwritetype.as_nullable
		end
		var mparameter = new MParameter(name, mwritetype, false)
		var msignature = new MSignature([mparameter], null)
		mwritepropdef.msignature = msignature
	end
src/modelize/modelize_property.nit:1501,2--1515,4