@Test public void displayNameOfStandardTypeIsLocalized() { ArgumentParser parser = ArgumentParsers.newFor("prog").locale(Locale.US) .build(); String displayName = localizeTypeNameIfPossible(parser, Integer.class); assertEquals("integer (32 bits)", displayName); }
public static String localizeTypeNameIfPossible(ArgumentParser parser, Class<?> type) { return localizeTypeName(parser, type); }
TypeNameLocalization { public static String localizeTypeNameIfPossible(ArgumentParser parser, Class<?> type) { return localizeTypeName(parser, type); } }
TypeNameLocalization { public static String localizeTypeNameIfPossible(ArgumentParser parser, Class<?> type) { return localizeTypeName(parser, type); } private  TypeNameLocalization(); }
TypeNameLocalization { public static String localizeTypeNameIfPossible(ArgumentParser parser, Class<?> type) { return localizeTypeName(parser, type); } private  TypeNameLocalization(); static String localizeTypeNameIfPossible(ArgumentParser parser,
            Class<?> type); }
TypeNameLocalization { public static String localizeTypeNameIfPossible(ArgumentParser parser, Class<?> type) { return localizeTypeName(parser, type); } private  TypeNameLocalization(); static String localizeTypeNameIfPossible(ArgumentParser parser,
            Class<?> type);  }