boolean (List<? extends BaseInjection> newInjections, List<? extends BaseInjection> originalInjections, boolean forceLevel) { boolean changed = false; for (BaseInjection injection : originalInjections) { changed |= myInjections.get(injection.getSupportId()).remove(injection); } for (BaseInjection injection : newInjections) { changed |= myInjections.get(injection.getSupportId()).add(injection); } if (changed) { configurationModified(); } return changed; }