Class CommandLineUtils

java.lang.Object
org.checkerframework.afu.scenelib.util.CommandLineUtils

public class CommandLineUtils extends Object
Handle javac class CommandLine under all versions of the JDK.
  • Constructor Details

    • CommandLineUtils

      public CommandLineUtils()
  • Method Details

    • parseCommandLine

      public static String[] parseCommandLine(String[] args)
      Calls CommandLine.parse, handling both JDK 8-11 (where it takes and returns arrays) and later JDKs, where it takes and returns a list.
      Parameters:
      args - the command line
      Returns:
      the result of calling CommandLine.parse