public <A> A createAliasForVariable(Class<A> cl, String var) {
        final Path<A> expr = pathFactory.createEntityPath(cl, PathMetadataFactory.forVariable(var));
        return createAliasForExpr(cl, expr);
    }
Create an alias instance for the given class and variable name

@param <A>
@param cl type for alias
@param var variable name for the underlying expression
@return alias instance
querydsl-core/src/main/java/com/querydsl/core/alias/AliasFactory.java