Returns true if two expressions are equal. The equality comparison works on analyzed as well as unanalyzed exprs by ignoring implicit casts. If overridden by a subclass, also provide an appropriate implementation for hashCode.
(Object obj)
| 1041 | * also provide an appropriate implementation for hashCode. |
| 1042 | */ |
| 1043 | @Override |
| 1044 | public final boolean equals(Object obj) { |
| 1045 | return obj instanceof Expr && matches((Expr) obj, SlotRef.SLOTREF_EQ_CMP); |
| 1046 | } |
| 1047 | |
| 1048 | /** |
| 1049 | * Local hash code that ignores children. |
no test coverage detected