Java LibXin: uses Callbacks immediately instead of Function1