code added for fields of type java.lang.Boolean