public boolean equals(Object obj){
  if (this == obj) {
    return true;
  }
 else   if (!(obj instanceof MethodDesc)) {
    return false;
  }
  MethodDesc od=(MethodDesc)obj;
  return ((name == null ? od.name == null : name.equals(od.name)) && Arrays.equals(types,od.types) && (constraints == null ? od.constraints == null : constraints.equals(od.constraints)));
}

public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } else if ( ! ( obj instanceof MethodDesc ) ) { return false ; } MethodDesc od = ( MethodDesc ) obj ; return ( ( name == null ? od . name == null : name . equals ( od . name ) ) && Arrays . equals ( types , od . types ) && ( constraints == null ? od . constraints == null : constraints . equals ( od . constraints ) ) ) ; }
two instances of this class are equal if they have the same name , the same parameter types , and the same constraints .
