diff --git a/jnius/reflect.py b/jnius/reflect.py index 003e7fb..a43325a 100644 --- a/jnius/reflect.py +++ b/jnius/reflect.py @@ -239,8 +239,9 @@ def autoclass(clsname): classDict[name] = (JavaStaticMethod if static else JavaMethod)(sig, varargs=varargs) if name != 'getClass' and bean_getter(name) and len(method.getParameterTypes()) == 0: lowername = lower_name(name[2 if name.startswith('is') else 3:]) - classDict[lowername] = (lambda n: property(lambda self: getattr(self, n)()))(name) - continue + if lowername not in methods_name: + classDict[lowername] = (lambda n: property(lambda self: getattr(self, n)()))(name) + continue # multiple signatures signatures = []