private void addToGroup(ServiceViewContributor<?> contributor) {
    String id = contributor.getViewDescriptor(myProject).getId();
    ServiceViewToolWindowDescriptor descriptor = getContributorToolWindowDescriptor(contributor);
    String toolWindowId = ToolWindowId.SERVICES;
    if ((descriptor.isExcludedByDefault() && !myState.included.contains(id)) ||
        !descriptor.isExcludedByDefault() && myState.excluded.contains(id)) {
      toolWindowId = descriptor.getToolWindowId();
    }
    Collection<ServiceViewContributor<?>> contributors =
      myGroups.computeIfAbsent(toolWindowId, __ -> ConcurrentCollectionFactory.createConcurrentSet());
    contributors.add(contributor);
  }
private void addToGroup(ServiceViewContributor<?> contributor)