protected void checkName(@NonNls @NotNull String name) throws ConfigurationException {
    if (name.isEmpty()) {
      throw new ConfigurationException(IdeBundle.message("error.name.cannot.be.empty"));
    }
  }
protected void checkName(@NonNls @NotNull String name)