Implement has_java_method(...) for JavaClassWrapper and JNISingleton

This commit is contained in:
Fredia Huya-Kouadio
2025-05-29 12:40:18 -07:00
parent d7382aa058
commit 0622cee189
8 changed files with 134 additions and 30 deletions

View File

@@ -29,5 +29,12 @@
Returns a [JavaClass] representing the Java parent class of this class.
</description>
</method>
<method name="has_java_method" qualifiers="const">
<return type="bool" />
<param index="0" name="method" type="StringName" />
<description>
Returns [code]true[/code] if the given [param method] name exists in the object's Java methods.
</description>
</method>
</methods>
</class>