void (@NotNull ServerType addedType, @NotNull PluginDescriptor pluginDescriptor) { List<RemoteServerState> nowKnownStates = ContainerUtil.filter(myUnknownServers, next -> addedType.getId().equals(next.myTypeId)); nowKnownStates.forEach(nextState -> { myUnknownServers.remove(nextState); addServer(createConfiguration(addedType, nextState)); }); }