boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PyReferenceImpl that = (PyReferenceImpl)o; if (!myElement.equals(that.myElement)) return false; if (!myContext.equals(that.myContext)) return false; return true; }