private void addLastJoin() {
        if (joinTarget != null) {
            joins.add(new JoinExpression(joinType, joinTarget, joinCondition, CollectionUtils.unmodifiableSet(joinFlags)));
            joinType = null;
            joinTarget = null;
            joinCondition = null;
            joinFlags.clear();
        }
    }
Disable validation

@return the current object
querydsl-core/src/main/java/com/querydsl/core/DefaultQueryMetadata.java