code: public Collection<Method> getAllMethods(String name) {
          final Map<ParamList, Map<Class<?>, Method>> nameMap = methods.get(name);
          if (nameMap == null) {
              return Collections.emptySet();
          }
          final Collection<Method> methods = new ArrayList<Method>();
          for (Map<Class<?>, Method> map : nameMap.values()) {
              methods.addAll(map.values());
          }
          return methods;
      }
docs: Get a collection of methods declared on this object by method name.
  
  @param name the name of the method
  @return the (possibly empty) collection of methods with the given name