docs: protected final void maskedPrintCommandLine(@Nonnull List<String> cmd, @CheckForNull boolean[] mask, @CheckForNull FilePath workDir) {
          if(mask==null) {
              printCommandLine(cmd.toArray(new String[0]),workDir);
              return;
          }
          
          assert mask.length == cmd.size();
          final String[] masked = new String[cmd.size()];
          for (int i = 0; i < cmd.size(); i++) {
              if (mask[i]) {
                  masked[i] = "********";
              } else {
                  masked[i] = cmd.get(i);
              }
          }
          printCommandLine(masked, workDir);
      }