private void buildWeights(@NotNull Collection<? extends CompositeArrangementSettingsToken> compositeTokens) {
    for (CompositeArrangementSettingsToken token : compositeTokens) {
      myWeights.put(token.getToken(), myWeights.size());
      buildWeights(token.getChildren());
    }
  }
private void buildWeights(@NotNull Collection<? extends CompositeArrangementSettingsToken> compositeTokens)