m
, the type t
and the arguments args
# Generate a monomorphic send for the method `m`, the type `t` and the arguments `args`
fun monomorphic_send(m: MMethod, t: MType, args: Array[RuntimeVariable]): nullable RuntimeVariable do
assert t isa MClassType
var propdef = m.lookup_first_definition(self.compiler.mainmodule, t)
return self.static_call(propdef, args)
end
src/compiler/java_compiler.nit:686,2--691,4