Gets upper bounds of TypeVariable