private Set classSet(ClassDoc cd) {
        Set clsSet = (Set)classToClass.get(cd.qualifiedName());
        if (clsSet == null) {
            clsSet = new TreeSet();
            classToClass.put(cd.qualifiedName(), clsSet);
        }
        return clsSet;
    }