code: public static SafeScript fromConstant(@CompileTimeConstant final String script) {
      if (script.length() == 0) {
        return SafeScript.EMPTY;
      }
      return create(script);
    }
docs: Creates a SafeScript from the given compile-time constant string {@code script}.