presto-matching/src/main/java/io/prestosql/matching/PropertyPattern.java/PropertyPattern/upcast
class PropertyPattern:    @SuppressWarnings("unchecked cast")
    public static <F, C, T> PropertyPattern<F, C, T> upcast(PropertyPattern<F, C, ? extends T> propertyPattern)
    {
        return (PropertyPattern<F, C, T>) propertyPattern;
    }