docs: private boolean hasTimeoutCallbackParameters(MethodMap.MethodInfo methodInfo) {
          int numParams = methodInfo.getNumParameters();
          return numParams == 0 ||
                 (numParams == 1 && methodInfo.getParameterType(0) == Timer.class);
      }