code: public static boolean isMatch(Method methodA, Method methodB)
    {
      if (! methodA.getName().equals(methodB.getName()))
        return false;
  
      return isMatch(methodA.getParameterTypes(),
                     methodB.getParameterTypes());
    }
docs: Tests if an annotated method matches a name and parameter types.