/** * Returns true if this signature has the same return type, name and parameters types as the * method signature passed in, and this signatures exceptions "trump" (are the same as, or * super-implementations of, all exceptions thrown by the other method signature). * * @since 1.1 */ public boolean isOverridingSignatureOf(MethodSignature ms) { if (_returnType != ms._returnType) return false; if (!_name.equals(ms._name)) return false; if (mismatch(_parameterTypes, ms._parameterTypes)) return false; return exceptionsEncompass(ms._exceptionTypes); }