Static determination of dynamic properties of generalized type unions