code: private static void addNullAwayArgsAndRun(String[] args) {
      String nullawayJar = getJarFileForClass(NullAway.class).getFile();
      String annotPackages = args[0];
      String[] javacArgs = Arrays.copyOfRange(args, 1, args.length);
      // run NullAway first
      List<String> nullawayArgs =
          Arrays.asList(
              "-Xmaxwarns",
              "1",
              "-XepDisableAllChecks",
              "-Xep:NullAway:WARN",
              "-XepOpt:NullAway:AnnotatedPackages=" + annotPackages,
              "-processorpath",
              nullawayJar);
      List<String> fixedArgs = new ArrayList<>();
      fixedArgs.addAll(nullawayArgs);
      fixedArgs.addAll(Arrays.asList(javacArgs));
      System.out.println("With NullAway");
      runCompile(fixedArgs, 7, 10);
      // run without NullAway
      fixedArgs = new ArrayList<>();
      fixedArgs.add("-XepDisableAllChecks");
      fixedArgs.addAll(Arrays.asList(javacArgs));
      System.out.println("No NullAway");
      runCompile(fixedArgs, 7, 10);
    }
docs: Here we assume that the javac command has no existing processorpath and no other error prone
  flags are being passed. In this case, we assume the annotated packages are passed as the first
  argument and the remaining javac args as the rest. We run two configs, one with NullAway added
  in a warning-only mode and one with no NullAway.
  
  @param args