| 758 | } |
| 759 | |
| 760 | Variant JavaClass::callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) { |
| 761 | Variant ret; |
| 762 | |
| 763 | String method = (p_method == java_constructor_name) ? "<init>" : p_method; |
| 764 | bool found = _call_method(nullptr, method, p_args, p_argcount, r_error, ret); |
| 765 | if (found) { |
| 766 | return ret; |
| 767 | } |
| 768 | |
| 769 | return RefCounted::callp(p_method, p_args, p_argcount, r_error); |
| 770 | } |
| 771 | |
| 772 | String JavaClass::get_java_class_name() const { |
| 773 | return java_class_name; |
nothing calls this directly
no test coverage detected