code: private MethodDescriptor[] mergeMethods(MethodDescriptor[] superDescs) {
          HashMap<String, MethodDescriptor> subMap = internalAsMap(methods);
  
          for (MethodDescriptor superMethod : superDescs) {
              String methodName = getQualifiedName(superMethod.getMethod());
              MethodDescriptor method = subMap.get(methodName);
              if (method == null) {
                  subMap.put(methodName, superMethod);
              } else {
                  method.merge(superMethod);
              }
          }
          MethodDescriptor[] theMethods = new MethodDescriptor[subMap.size()];
          subMap.values().toArray(theMethods);
          return theMethods;
      }
docs: /*
  merge the MethodDescriptor