@Test public void testNewArgumentParser() { ArgumentParserImpl ap = (ArgumentParserImpl) ArgumentParsers .newFor("prog").addHelp(false).prefixChars("+") .fromFilePrefix("@").build(); assertEquals("prog", ap.getProg()); assertEquals("+", ap.getPrefixChars()); assertEquals("@", ap.getFromFilePrefixChars()); ap.addArgument("+h"); }
@Deprecated public static ArgumentParser newArgumentParser(String prog) { return newArgumentParser(prog, true, DEFAULT_PREFIX_CHARS, null); }
ArgumentParsers { @Deprecated public static ArgumentParser newArgumentParser(String prog) { return newArgumentParser(prog, true, DEFAULT_PREFIX_CHARS, null); } }
ArgumentParsers { @Deprecated public static ArgumentParser newArgumentParser(String prog) { return newArgumentParser(prog, true, DEFAULT_PREFIX_CHARS, null); } private  ArgumentParsers(); }
ArgumentParsers { @Deprecated public static ArgumentParser newArgumentParser(String prog) { return newArgumentParser(prog, true, DEFAULT_PREFIX_CHARS, null); } private  ArgumentParsers(); static ArgumentParserBuilder newFor(String prog); @Deprecated static ArgumentParser newArgumentParser(String prog); @Deprecated static ArgumentParser newArgumentParser(String prog, boolean addHelp); @Deprecated static ArgumentParser newArgumentParser(String prog,
            boolean addHelp, String prefixChars); @Deprecated static ArgumentParser newArgumentParser(String prog,
            boolean addHelp, String prefixChars, String fromFilePrefix); @Deprecated static void setCJKWidthHack(boolean flag); @Deprecated static boolean getCjkWidthHack(); @Deprecated static void setTerminalWidthDetection(boolean flag); @Deprecated static boolean getTerminalWidthDetection(); @Deprecated static int getFormatWidth(); @Deprecated static void setSingleMetavar(boolean singleMetavar); @Deprecated static boolean isSingleMetavar(); @Deprecated static void setNoDestConversionForPositionalArgs(boolean flag); @Deprecated static boolean getNoDestConversionForPositionalArgs(); }
ArgumentParsers { @Deprecated public static ArgumentParser newArgumentParser(String prog) { return newArgumentParser(prog, true, DEFAULT_PREFIX_CHARS, null); } private  ArgumentParsers(); static ArgumentParserBuilder newFor(String prog); @Deprecated static ArgumentParser newArgumentParser(String prog); @Deprecated static ArgumentParser newArgumentParser(String prog, boolean addHelp); @Deprecated static ArgumentParser newArgumentParser(String prog,
            boolean addHelp, String prefixChars); @Deprecated static ArgumentParser newArgumentParser(String prog,
            boolean addHelp, String prefixChars, String fromFilePrefix); @Deprecated static void setCJKWidthHack(boolean flag); @Deprecated static boolean getCjkWidthHack(); @Deprecated static void setTerminalWidthDetection(boolean flag); @Deprecated static boolean getTerminalWidthDetection(); @Deprecated static int getFormatWidth(); @Deprecated static void setSingleMetavar(boolean singleMetavar); @Deprecated static boolean isSingleMetavar(); @Deprecated static void setNoDestConversionForPositionalArgs(boolean flag); @Deprecated static boolean getNoDestConversionForPositionalArgs(); static final String DEFAULT_PREFIX_CHARS; static final int DEFAULT_FORMAT_WIDTH; }