code: private static void addMethod(Set<MethodEntry> methods, 
                                    MethodEntry method) {
          if (!method.isBridged()) {
              methods.remove(method);
              methods.add(method);
          }
          else if (!methods.contains(method)) {
              methods.add(method);
          }
      }
docs: Add a method to the set of existing methods.  If the method is not
  bridged, it will overwrite any existing signature.  Otherwise, it will
  only update the set if not previously defined.  Note that the signature
  of the method entry includes the method name, parameter types, and the
  return type.
  
  @param methods  The set of methods
  @param method  The method to add