public static <T extends Number & Comparable<?>> NumberPath<T> numberPath(Class<? extends T> type,
            String variable) {
        return new NumberPath<T>(type, PathMetadataFactory.forVariable(variable));
    }
Create a new Path expression

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