code: private boolean hasTimeoutCallbackParameters(MethodMap.MethodInfo methodInfo) {
          int numParams = methodInfo.getNumParameters();
          return numParams == 0 ||
                 (numParams == 1 && methodInfo.getParameterType(0) == Timer.class);
      }
docs: Returns true if the specified method has the proper parameter types for
  a timeout callback method.
  
  @param methodInfo the method info
  @return true if the method has the proper parameter