boolean compareMethods(@Nullable Method a,@Nullable Method b){
  if ((a == null) != (b == null)) {
    return false;
  }
  if (a != null && b != null) {
    if (!a.equals(b)) {
      return false;
    }
  }
  return true;
}

boolean compareMethods ( @ Nullable Method a , @ Nullable Method b ) { if ( ( a == null ) != ( b == null ) ) { return false ; } if ( a != null && b != null ) { if ( ! a . equals ( b ) ) { return false ; } } return true ; }
package private helper method for descriptor . equals methods .
