public void replace(final List<? extends BaseInjection> originalInjections, final List<? extends BaseInjection> newInjections) {
      for (Iterator<InjInfo> it = injectionInfos.iterator(); it.hasNext(); ) {
        final InjInfo info = it.next();
        if (originalInjections.contains(info.injection)) it.remove();
      }
      for (BaseInjection newInjection : newInjections) {
        injectionInfos.add(new InjInfo(newInjection, this, false));
      }
    }
public void replace(final List<? extends BaseInjection> originalInjections, final List<? extends BaseInjection> newInjections)