code: public Collection<Method> getMethods() {
          final Collection<Method> methods = new ArrayList<Method>();
          for (Map.Entry<String, Map<ParamList, Map<Class<?>, Method>>> entry : this.methods.entrySet()) {
              final Map<ParamList, Map<Class<?>, Method>> nameMap = entry.getValue();
              for (Map<Class<?>, Method> map : nameMap.values()) {
                  methods.addAll(map.values());
              }
          }
          return methods;
      }
docs: Get a collection of methods declared on this object.
  
  @return the (possibly empty) collection of all declared methods