@Override
    public int hashCode() {
        return kind.hashCode() * 31 + location.hashCode();
    }
LocationAndKind defines a pair of Location and Kind

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