QueryDSL creates for us some nice metamodel Q-classes, where the fields of those Q-classes are, whenever possible, paths of a specific type. For example, if you have an Integer field for age in your User class, the field will have a type of NumberPath in the QUser class.
Suppose I'm using QueryDSL to build up a query like
user.from(user).where(user.age.eq(30))
I'd like to be able to get user.age's path-type that exists in the QClass - that is, NumberPath.
Is this possible?