docs: public MethodInfo getSingleMethod(final String methodName) {
          int numMethodsWithName = 0;
          MethodInfo lastFoundMethod = null;
          for (final MethodInfo mi : this) {
              if (mi.getName().equals(methodName)) {
                  numMethodsWithName++;
                  lastFoundMethod = mi;
              }
          }
          if (numMethodsWithName == 0) {
              return null;
          } else if (numMethodsWithName == 1) {
              return lastFoundMethod;
          } else {
              throw new IllegalArgumentException("There are multiple methods named \"" + methodName + "\" in class "
                      + iterator().next().getName());
          }
      }