presto-main/src/main/java/io/prestosql/metadata/LiteralFunction.java/LiteralFunction/isSupportedLiteralType
class LiteralFunction:    public static boolean isSupportedLiteralType(Type type)
    {
        return SUPPORTED_LITERAL_TYPES.contains(type.getJavaType());
    }