@Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        } else if (obj instanceof LocationAndKind) {
            LocationAndKind other = (LocationAndKind) obj;
            return location.equals(other.location) && kind.equals(other.kind);
        } else {
            return false;
        }
    }
LocationAndKind defines a pair of Location and Kind

@author tiwe
querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/LocationAndKind.java