code: public boolean differs(MethodInfo oldInfo, MethodInfo newInfo) {
          if (Tools.isMethodAccessChange(oldInfo.getAccess(), newInfo.getAccess()))
              return true;
          if (oldInfo.getExceptions() == null
              || newInfo.getExceptions() == null) {
              if (oldInfo.getExceptions() != newInfo.getExceptions())
                  return true;
          } else {
              final Set<String> oldExceptions
                  = new HashSet(Arrays.asList(oldInfo.getExceptions()));
              final Set<String> newExceptions
                  = new HashSet(Arrays.asList(newInfo.getExceptions()));
              if (!oldExceptions.equals(newExceptions))
                  return true;
          }
          return false;
      }
docs: Check if there is a change between two versions of a method.
  Returns true if the access flags differ, or if the thrown
  exceptions differ.
  
  @param oldInfo Info about the old version of the method.
  @param newInfo Info about the new version of the method.
  @return True if the methods differ, false otherwise.