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