code: public static SoyType getTypeForContentKind(SanitizedContentKind contentKind) {
      switch (contentKind) {
        case ATTRIBUTES:
          return AttributesType.getInstance();
  
        case CSS:
          return StyleType.getInstance();
  
        case HTML:
          return HtmlType.getInstance();
  
        case JS:
          return JsType.getInstance();
  
        case URI:
          return UriType.getInstance();
  
        case TRUSTED_RESOURCE_URI:
          return TrustedResourceUriType.getInstance();
  
        case TEXT:
          return StringType.getInstance();
      }
      throw new AssertionError(contentKind);
    }
docs: Given a content kind, return the corresponding soy type.
  
  <p>For {@link SanitizedContentKind#TEXT} this returns {@link StringType}, for all other types
  it is a {@link SanitizedType}.