@SuppressWarnings("unchecked")
    public static <D> EntityPathBase<D> var(D arg) {
        String var = "var" + arg.getClass().getSimpleName() + "_" + arg.toString().replace(' ', '_');
        return new PathBuilder<D>((Class) arg.getClass(), var);
    }
Create a new variable path

@param arg alias
@param <D>
@return expression
querydsl-core/src/main/java/com/querydsl/core/alias/Alias.java