pub fn analyze( env: &Env, type_id: TypeId, version: Option<Version>, imports: &mut Imports, add_parent_types_import: bool, ) -> Vec<StatusedTypeId>