public boolean hasFlag(JoinFlag flag) {
        return flags.contains(flag);
    }
Create a new JoinExpression instance

@param type type of join
@param target target of join
@param condition join condition or null, if none is used
@param flags join flags
querydsl-core/src/main/java/com/querydsl/core/JoinExpression.java