public JPopupMenu makeConstructorMenu(Collection<Class> classes,
            Location loc)
    {
        this.currentLocation = loc;
        JPopupMenu menu = new JPopupMenu();
        boolean first = true;
        Iterator<Class> iter = classes.iterator();
        while (iter.hasNext())
        {
            if (first)
                first = false;
            else
                menu.addSeparator();
            Class cl = iter.next();
            Constructor[] cons = (Constructor[]) cl.getConstructors();
            for (int i = 0; i < cons.length; i++)
            {
                menu.add(new OccupantConstructorItem(cons[i]));
            }
        }
        return menu;
    }