@Override
        public Class<?> validate(Class<?> parent, String property, Class<?> propertyType) {
            return propertyType;
        }
Validates the given property of given class

@param parent type of the parent object
@param property property name
@param propertyType property type
@return propertyType or subtype of it
querydsl-core/src/main/java/com/querydsl/core/types/dsl/PathBuilderValidator.java