code: protected Runnable createMainMethodRunner(String mainClass, String[] args,
                                                ClassLoader classLoader) throws Exception {
          Class<?> runnerClass = classLoader.loadClass(RUNNER_CLASS);
          Constructor<?> constructor = runnerClass.getConstructor(String.class,
                  String[].class);
          return (Runnable) constructor.newInstance(mainClass, args);
      }
docs: Create the {@code MainMethodRunner} used to launch the application.
  
  @param mainClass   the main class
  @param args        the incoming arguments
  @param classLoader the classloader
  @return a runnable used to start the application
  @throws Exception if the main method runner cannot be created