Abstract class as Nantive Interface (JNI)