private void registerConfigurationType(@NotNull ServerType<?> serverType) {
    DeployToServerConfigurationType<?> configurationType = new DeployToServerConfigurationType<>(serverType);

    try {
      getConfigurationTypeEP().registerExtension(configurationType);
    }
    catch (Exception e) {
      LOG.error(e);
    }

    myConfigurationTypes.put(serverType, configurationType);
  }
private void registerConfigurationType(@NotNull ServerType<?> serverType)