code: private void populateMethodInfo(JavaClass cls, Map<String, Set<String>> methodInfo) {
          try {
              if (Values.DOTTED_JAVA_LANG_OBJECT.equals(cls.getClassName())) {
                  return;
              }
  
              Method[] methods = cls.getMethods();
              for (Method m : methods) {
                  String sig = m.getSignature();
                  if (isPossiblyConfusingSignature(sig)) {
  
                      String name = m.getName();
                      Set<String> sigs = methodInfo.get(name);
                      if (sigs == null) {
                          sigs = new HashSet<>(3);
                          methodInfo.put(name, sigs);
                      }
                      sigs.add(m.getSignature());
                  }
              }
  
              populateMethodInfo(cls.getSuperClass(), methodInfo);
          } catch (ClassNotFoundException cnfe) {
              bugReporter.reportMissingClass(cnfe);
          }
      }
docs: fills out a set of method details for possibly confusing method signatures
  
  @param cls
  the current class being parsed
  @param methodInfo
  a collection to hold possibly confusing methods