public static BooleanPath booleanPath(String variable) {
        return new BooleanPath(PathMetadataFactory.forVariable(variable));
    }
Create a new Path expression

@param variable variable name
@return path expression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java