@Nullable
  public String expandMacrosInString(@Nullable String str,
                                     boolean firstQueueExpand,
                                     DataContext dataContext,
                                     boolean onlySilent) throws ExecutionCancelledException {
    @NotNull Collection<Macro> macros = getMacros();
    if (onlySilent) {
      macros = ContainerUtil.map(macros, macro -> macro instanceof PromptingMacro ? new Macro.Silent(macro, "") : macro);
    }
    return expandMacroSet(str, firstQueueExpand, dataContext, macros);
  }
@Nullable
  public String expandMacrosInString(@Nullable String str,
                                     boolean firstQueueExpand,
                                     DataContext dataContext,
                                     boolean onlySilent)