Return the method id for an instance of a class or interface

The method is determined by its name and signature To obtain the method ID of a constructor, supply "" as the method name and "void(V)" as the return type

Property definitions

jvm $ JniEnv :: get_method_id
	# Return the method id for an instance of a class or interface
	# The method is determined by its name and signature
	# To obtain the method ID of a constructor, supply "<init>" as the method name and "void(V)" as the return type
	fun get_method_id(clazz : JClass, name : String, signature : String): JMethodID import String.to_cstring `{
		return (*self)->GetMethodID(self, clazz, String_to_cstring(name), String_to_cstring(signature));
	`}
lib/jvm/jvm.nit:221,2--226,3