code: @Override
    public Method getMethod(String methodName, int parameterCount) {
      for (Method method : methods) {
        if (method.getName().equals(methodName) && method.getParameters().size() == parameterCount) {
          return method;
        }
      }
      if (extending != null) {
        return extending.getMethod(methodName, parameterCount);
      }
      return null;
    }
docs: TODO add static methods