pyjnius
pyjnius copied to clipboard
JNI-style signatures are ugly, change the api of interfaces to use a more java-like interface.
example:
@java_method('(ILjava/lang/Object;)Ljava/lang/Object;')
if you don't know jni, this is impossible to understand/write correctly.
something like
from jnius import Object, Int
@java_method((Int, Object), Object)
maybe?