types/src/main/java/com/google/common/html/types/SafeScripts.java
public static SafeScript fromConstant(@CompileTimeConstant final String script) {
    if (script.length() == 0) {
      return SafeScript.EMPTY;
    }
    return create(script);
  }
public static SafeScript fromConstant(@CompileTimeConstant final String script) {
    if (script.length() == 0) {
      return SafeScript.EMPTY;
    }
    return create(script);
  }
Creates a SafeScript from the given compile-time constant string {@code script}.