JniThread
Denotes that the annotated method can be called only from the JNI thread. If the annotated element is a class, then all methods in the class can be called only from the JNI thread.
Denotes that the annotated method can be called only from the JNI thread. If the annotated element is a class, then all methods in the class can be called only from the JNI thread.