[java/cs] Added support for @:readOnly fields when eagerly initialized. Closes #2061