presto-matching/src/main/java/io/prestosql/matching/Pattern.java/Pattern/typeOf
class Pattern:    public static <T> Pattern<T> typeOf(Class<T> expectedClass)
    {
        return new TypeOfPattern<>(expectedClass);
    }