docs: @EnsuresNonNull("compiledScript")
    private JavaScriptAggregator.ScriptAggregator getCompiledScript()
    {
      // JavaScript configuration should be checked when it's actually used because someone might still want Druid
      // nodes to be able to deserialize JavaScript-based objects even though JavaScript is disabled.
      Preconditions.checkState(config.isEnabled(), "JavaScript is disabled");
  
      JavaScriptAggregator.ScriptAggregator syncedCompiledScript = compiledScript;
      if (syncedCompiledScript == null) {
        synchronized (config) {
          syncedCompiledScript = compiledScript;
          if (syncedCompiledScript == null) {
            syncedCompiledScript = compileScript(fnAggregate, fnReset, fnCombine);
            compiledScript = syncedCompiledScript;
          }
        }
      }
      return syncedCompiledScript;
    }