private Collection<Modifier> adjustModifiers(Collection<Modifier> mods,
                                                     Collection<Modifier> elides) {
            if (elides.isEmpty())
                return mods;
            else {
                Collection<Modifier> newMods = new LinkedHashSet<Modifier>();
                newMods.addAll(mods);
                newMods.removeAll(elides);
                return newMods;
            }
        }