Class CommandLineOptions


  • public class CommandLineOptions
    extends Object
    • Constructor Detail

      • CommandLineOptions

        public CommandLineOptions()
    • Method Detail

      • isCheckedArithmetic

        public boolean isCheckedArithmetic()
        Returns:
        true if '-ca' or '-checkedArithmetic' was specified on the command line
      • getClasspath

        public String getClasspath()
      • getDestDir

        public String getDestDir()
      • isHelp

        public boolean isHelp()
        Returns:
        true if '-help' was specified on the command line
      • isNoWarn

        public boolean isNoWarn()
        Returns:
        true if '-nowarn' was specified on the command line
      • getSourcepath

        public String getSourcepath()
      • isVerbose

        public boolean isVerbose()
        Returns:
        true if '-verbose' was specified on the command line
      • isVersion

        public boolean isVersion()
        Returns:
        true if '-version' was specified on the command line
      • getSourceFiles

        public List<String> getSourceFiles()
      • setSourceFiles

        public void setSourceFiles​(List<String> srcFiles)
      • getMaxErrs

        public int getMaxErrs()
        Returns:
        maximum error threshold. Defaults to 1,000.
      • getMaxWarns

        public int getMaxWarns()
        Returns:
        maximum warning threshold. Defaults to Integer.MAX_VALUE.