/** * Returns true if this object is of type t. Handles wildcard types. That is, if t is the wildcard * type variant of 'this', returns true. */ public boolean matchesType(ColumnType t) { if (equals(t)) return true; if (isDecimal() && t.isWildcardDecimal()) { Preconditions.checkState(!isWildcardDecimal()); return true; } return false; }