enumerator_iterator: add missing .to_java conversion

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>