java_ast Field writing respects dimension.

Before, fields which were arrays wouldn't be written
as the correct type.

Bug: 110758329
Test: runtests.sh
Change-Id: Ifc215d1bf452ec5b0d1075a504a4b479b744cb83
1 file changed