`TypeNode.getElementMinOccurs()` returns `null` if `minOccurs` is not found
add comments when determining nullability
rename `nillable` to `nullable` in `Variable`