The specification is silent on whether ValueBinding and MethodBinding should
implement equals() and hashCode() or not, and the current RI implementation does
not implement them, defaulting to the underlying logic in java.lang.Object. It
would be very useful for equals() to return true if the reference expressions
for two instances are the same (and hashCode() would have to be implemented as
well to maintain the contracts defined in java.lang.Object). These methods
could be implemented in the API classes (javax.faces.el.
quite easily, so that all implementations could benefit from them.