presto-parser/src/main/java/io/prestosql/sql/tree/TransactionAccessMode.java/TransactionAccessMode/equals
class TransactionAccessMode:    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        final TransactionAccessMode other = (TransactionAccessMode) obj;
        return this.readOnly == other.readOnly;
    }