docs: public static ExecutableScript getScript(String language, String source, String resource, ExpressionManager expressionManager, ScriptFactory scriptFactory) {
      ensureNotEmpty(NotValidException.class, "Script language", language);
      ensureAtLeastOneNotNull(NotValidException.class, "No script source or resource was given", source, resource);
      if (resource != null && !resource.isEmpty()) {
        return getScriptFromResource(language, resource, expressionManager, scriptFactory);
      }
      else {
        return getScriptFormSource(language, source, expressionManager, scriptFactory);
      }
    }