@SuppressWarnings("unchecked")
    public <A extends Comparable<?>> ComparablePath<A> getComparable(String property, Class<A> type) {
        Class<? extends A> vtype = validate(property, type);
        return super.createComparable(property, (Class<? super A>) vtype);
    }
@ SuppressWarnings ( "unchecked" ) public < A extends Comparable < ? > > ComparablePath < A > getComparable ( String property , Class < A > type ) { Class < ? extends A > vtype = validate ( property , type ) ; return super . createComparable ( property , ( Class < ? super A > ) vtype ) ; }
Create a new Comparable typed path

@param <A>
@param property property name
@param type property type
@return property path