docs: public static ExecutableScript getScriptFromResource(String language, String resource, ExpressionManager expressionManager, ScriptFactory scriptFactory) {
      ensureNotEmpty(NotValidException.class, "Script language", language);
      ensureNotEmpty(NotValidException.class, "Script resource", resource);
      if (isDynamicScriptExpression(language, resource)) {
        Expression resourceExpression = expressionManager.createExpression(resource);
        return getScriptFromResourceExpression(language, resourceExpression, scriptFactory);
      }
      else {
        return getScriptFromResource(language, resource, scriptFactory);
      }
    }