presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrincipal.java/HivePrincipal/toPrestoPrincipal
class HivePrincipal:    public PrestoPrincipal toPrestoPrincipal()
    {
        return new PrestoPrincipal(type, name);
    }