# Compile the abstract runtime method structure
#
# Method body is executed through the `exec` method:
# * `exec` always take an array of RTVal as arg, the first one must be the receiver
# * `exec` always returns a RTVal (or null if the Nit return type is void)
fun compile_rtmethod(compiler: JavaCompiler) do
var v = compiler.new_visitor("RTMethod.java")
v.add("public abstract class RTMethod \{")
v.add(" protected RTMethod() \{\}")
v.add(" public abstract RTVal exec(RTVal[] args);")
v.add("\}")
end
src/compiler/java_compiler.nit:1180,2--1191,4