private List refList(Map map, ClassDoc cd) {
        List list = (List)map.get(cd.qualifiedName());
        if (list == null) {
            list = new ArrayList();
            map.put(cd.qualifiedName(), list);
        }
        return list;
    }