boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BeanPropertyElement element = (BeanPropertyElement)o; if (!myMethod.equals(element.myMethod)) return false; if (!myName.equals(element.myName)) return false; return true; }