public static int intMain(String[] args) {
    boolean indy = false;
    if (args.length != 3) {
      if (args.length != 4 || !"--indy".equals(args[3])) {
        //noinspection UseOfSystemOutOrSystemErr
        System.err.println("There is no arguments for groovy compiler");
        return 1;
      }
      indy = true;
    }

    final boolean optimize = GroovyRtConstants.OPTIMIZE.equals(args[0]);
    final boolean forStubs = "stubs".equals(args[1]);
    String argPath = args[2];

    String configScript = System.getProperty(GroovyRtConstants.GROOVYC_CONFIG_SCRIPT);

    //noinspection UseOfSystemOutOrSystemErr
    return intMain2(indy, optimize, forStubs, argPath, configScript, null, null, System.out, System.err);
  }
public static int intMain(String[] args)