If it's not a data structure, then `AnnotationFile::resolveType($raw_type)` sounds good, because here we're resolving raw data type using that file object (namespace, uses).