Generate a RTClass for each MClass found in model

This is a global phase because we need to know all the program to build attributes, fill vft and type table.

Property definitions

nitc $ JavaCompiler :: compile_mclasses_to_java
	# Generate a `RTClass` for each `MClass` found in model
	#
	# This is a global phase because we need to know all the program to build
	# attributes, fill vft and type table.
	fun compile_mclasses_to_java do
		for mclass in mainmodule.model.mclasses do
			mclass.compile_to_java(new_visitor("{mclass.rt_name}.java"))
		end
	end
src/compiler/java_compiler.nit:307,2--315,4