[Java]: Added support for fields to Java OTF decoder.