@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (obj == this) {
            return true;
        }

        if (getClass() != obj.getClass()) {
            return false;
        }

        ConnectionDescriptor c = (ConnectionDescriptor)obj;
        if (hashCode() != c.hashCode()) {
            return false;
        }

        return producerName.equals(c.producerName) && 
               consumerName.equals(c.consumerName) &&
               event.equals(c.event);
    }
Indicates whether some other object is "equal to" this one.
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ConnectionDescriptor.java