QualifiedName toQualifiedName(constant_utf8* utf8){ QualifiedName name; std::string progress = ""; // Convert the class to a qualified name for(int i = 0; i < utf8->length; i++){ char ch = (char)utf8->bytes[i]; if(ch == '/'){ if(progress != "") name.add(progress); progress = ""; }else progress += ch; } name.add(progress); return name; }