public boolean addConfiguration(@NotNull Configuration configuration) {
    if (myConfigurations.contains(configuration)) {
      return false;
    }
    myConfigurations.add(configuration);
    return true;
  }
public boolean addConfiguration(@NotNull Configuration configuration)