Commit 22ecccec authored by François Grisez's avatar François Grisez
Browse files

Fix Java wrapper generation.

parent a8c00e9c
......@@ -465,7 +465,7 @@ class JavaTranslator(object):
interfaceDict['doc'] = _class.briefDescription.translate(self.docTranslator)
for method in _class.methods:
for method in _class.instanceMethods:
interfaceDict['jniMethods'].append(self.translate_jni_interface(_class.listenedClass,, method))
......@@ -528,7 +528,7 @@ class JniInterface(object):
self.cPrefix = javaClass.cPrefix
self.callbacks = []
listener = apiClass.listenerInterface
for method in listener.methods:
for method in listener.instanceMethods:
'callbackName': '_{0}_cb'.format(,
'callback':[3:], # Remove the on_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment