类型签名(Type Signatures)
(<Parameter 1 Type Code>[<Parameter 1 Class>];...)<Return Type Code>
The JNI uses the Java VM’s representation of type signatures. Following Table shows these type signatures.
| Type Signature | Java Type |
| Z | booleab |
| B | byte |
| C | char |
| S | short |
| I | int |
| J | long |
| F | float |
| D | double |
| L full-qualified-class | full-qualified-class |
| [type | type[] |
| (arg-types)ret-type | method type |
For example, the Java method:
long f (int n, String s, int[] arr);
has the following type signature:
(ILjava/lang/String;[I)J