Java Signatures

Synopsis

To use the JNI Interface, functions need to be mapped to things like the return type of functions, or field data type, which come from the method or field signatures.

For example, a field with signature ‘Z’ should be called with GetBooleanField, while a static field with that signature should be called with GetBooleanStaticField.

A method with a signature ‘()B’ should be called with ‘CallByteMethod’ and a static method with the same signature should be called with CallByteStaticMethod`.

To simplify this struture, this module will try to automatically map signatures to the functions that need to be called. It also tries to convert given Python values to a similar type.

For example:

For method signatures:

API Reference