mirror of https://github.com/kivy/pyjnius.git
use getDeclaredMethods for current class, then getMethods for parent
classes?
This commit is contained in:
parent
c2316cf00e
commit
735f9ad574
|
@ -219,7 +219,10 @@ def autoclass(clsname):
|
|||
|
||||
cls = c
|
||||
while cls is not None:
|
||||
methods = cls.getMethods()
|
||||
if cls is c:
|
||||
methods = cls.getDeclaredMethods()
|
||||
else:
|
||||
methods = cls.getMethods()
|
||||
methods_name = [x.getName() for x in methods]
|
||||
|
||||
for index, method in enumerate(methods):
|
||||
|
|
Loading…
Reference in New Issue