presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrincipal.java/HivePrincipal/hashCode
class HivePrincipal:    @Override
    public int hashCode()
    {
        return Objects.hash(type, name);
    }