Exemplo n.º 1
0
 /** {@inheritDoc} */
 @Override
 public int hashCode() {
   return def.hashCode() + retention.hashCode();
 }
Exemplo n.º 2
0
 /**
  * Compare everything but the ordinary {@link AnnotationDef}. For the convenience of {@link
  * TLAnnotation#equals(TLAnnotation)}.
  */
 boolean extraEquals(/*@NonNull*/ TLAnnotationDef o) {
   return retention.equals(o.retention);
 }