boolean values will be autocomplete if the type is a primitive boolean
too