Пример #1
0
 @Override
 public boolean equals(Object other) {
   return this == other
       || !(other == null || getClass() != other.getClass())
           && accessorMethod.equals(((MethodCall) other).accessorMethod)
           && assigner.equals(((MethodCall) other).assigner);
 }
Пример #2
0
 @Override
 public boolean equals(Object other) {
   if (this == other) return true;
   if (other == null || getClass() != other.getClass()) return false;
   Entry entry = (Entry) other;
   return handler.equals(entry.handler)
       && attributeAppenderFactory.equals(entry.attributeAppenderFactory)
       && methodDescription.equals(entry.methodDescription)
       && typeTokens.equals(entry.typeTokens);
 }