public <C extends ServerConfiguration> @NotNull DeployToServerConfigurationType<C> getConfigurationType(@NotNull ServerType<C> serverType) {
    @SuppressWarnings("unchecked") DeployToServerConfigurationType<C> result =
      (DeployToServerConfigurationType<C>)myConfigurationTypes.get(serverType);
    LOG.assertTrue(result != null,
                   "Cannot find run configuration type for server: " + serverType.getId());
    return result;
  }
public <C extends ServerConfiguration> @NotNull DeployToServerConfigurationType<C> getConfigurationType(@NotNull ServerType<C> serverType)