Add java type to field type