@Nullable
  private static String getEntryType(@NotNull Map<ArrangementSettingsToken, Object> tokens) {
    for (Map.Entry<ArrangementSettingsToken, Object> token : tokens.entrySet()) {
      if (StdArrangementTokenType.ENTRY_TYPE.is(token.getKey())) {
        final Object value = token.getValue();
        if (!(value instanceof Boolean) || (Boolean)value) {
          return token.getKey().getId();
        }
      }
    }
    return null;
  }
@Nullable
  private static String getEntryType(@NotNull Map<ArrangementSettingsToken, Object> tokens)