presto-spi/src/main/java/io/prestosql/spi/type/SmallintType.java/SmallintType/equals
class SmallintType:    @Override
    @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
    public boolean equals(Object other)
    {
        return other == SMALLINT;
    }