public boolean intersectsWith(final BaseInjection template) {
    if (!Objects.equals(getInjectedLanguageId(), template.getInjectedLanguageId())) return false;
    for (InjectionPlace other : template.getInjectionPlaces()) {
      if (ArrayUtil.contains(other, myPlaces)) return true;
    }
    return false;
  }
public boolean intersectsWith(final BaseInjection template)