code: public static ExecutableScript getScriptFromResourceExpression(String language, Expression resourceExpression, ScriptFactory scriptFactory) {
      ensureNotEmpty(NotValidException.class, "Script language", language);
      ensureNotNull(NotValidException.class, "Script resource expression", resourceExpression);
      return scriptFactory.createScriptFromResource(language, resourceExpression);
    }
docs: Creates a new {@link ExecutableScript} from a dynamic resource. Dynamic means that the source
  is an expression which will be evaluated during execution.
  
  @param language the language of the script
  @param resourceExpression the expression which evaluates to the resource path
  @param scriptFactory the script factory used to create the script
  @return the newly created script
  @throws NotValidException if language is null or empty or resourceExpression is null