def get_method(java_object, method_name):
 return JavaMember(method_name, java_object, java_object._target_id, java_object._gateway_client)

def get_method ( java_object , method_name ) : return JavaMember ( method_name , java_object , java_object . _target_id , java_object . _gateway_client )
retrieves a reference to the method of an object .