private static Variant guessVariant(String name) {
        switch (name) {
        case "bool":      return Variant.BUILTIN;
        case "byte":      return Variant.BUILTIN;
        case "int":       return Variant.BUILTIN;
        case "long":      return Variant.BUILTIN;
        case "string":    return Variant.BUILTIN;
        case "float":     return Variant.BUILTIN;
        case "double":    return Variant.BUILTIN;
        case "uri":       return Variant.BUILTIN;
        case "predicate": return Variant.BUILTIN;
        case "raw":       return Variant.BUILTIN;
        case "tag":       return Variant.BUILTIN;
        case "position":  return Variant.POSITION;
        case "float16":   return Variant.BUILTIN;
        }
        return Variant.UNKNOWN;
    }
This class holds the extracted information after parsing a type
declaration (typically for a field).  Since types can be complex,
struct names (known or unknown), or even document names, this class
is somewhat complicated.
@author arnej27959
config-model/src/main/java/com/yahoo/schema/parser/ParsedType.java