CJK aware TextWidthCounter implementation.
This class uses East Asian Width information of Unicode and counts 2 for Wide, Full and Ambiguous characters.
The application code should not use this class directly.
136137138139140141142143
public static ArgumentParser newArgumentParser(String prog, boolean addHelp, String prefixChars, String fromFilePrefix) { return new ArgumentParserImpl(prog, addHelp, prefixChars, fromFilePrefix, cjkWidthHack_ && cjkWidthLangs_.contains(Locale.getDefault() .getLanguage()) ? new CJKTextWidthCounter() : new ASCIITextWidthCounter()); }