@Test public void testInferMetavar() { BooleanArgumentType t = new BooleanArgumentType("yes", "no"); assertArrayEquals(new String[] { "{yes,no}" }, t.inferMetavar()); }
@Override public String[] inferMetavar() { return new String[] { TextHelper.concat(new String[] { trueValue_, falseValue_ }, 0, ",", "{", "}") }; }
BooleanArgumentType implements ArgumentType<Boolean>,
        MetavarInference { @Override public String[] inferMetavar() { return new String[] { TextHelper.concat(new String[] { trueValue_, falseValue_ }, 0, ",", "{", "}") }; } }
BooleanArgumentType implements ArgumentType<Boolean>,
        MetavarInference { @Override public String[] inferMetavar() { return new String[] { TextHelper.concat(new String[] { trueValue_, falseValue_ }, 0, ",", "{", "}") }; } BooleanArgumentType();  BooleanArgumentType(String trueValue, String falseValue); }
BooleanArgumentType implements ArgumentType<Boolean>,
        MetavarInference { @Override public String[] inferMetavar() { return new String[] { TextHelper.concat(new String[] { trueValue_, falseValue_ }, 0, ",", "{", "}") }; } BooleanArgumentType();  BooleanArgumentType(String trueValue, String falseValue); @Override Boolean convert(ArgumentParser parser, Argument arg, String value); @Override String[] inferMetavar(); }
BooleanArgumentType implements ArgumentType<Boolean>,
        MetavarInference { @Override public String[] inferMetavar() { return new String[] { TextHelper.concat(new String[] { trueValue_, falseValue_ }, 0, ",", "{", "}") }; } BooleanArgumentType();  BooleanArgumentType(String trueValue, String falseValue); @Override Boolean convert(ArgumentParser parser, Argument arg, String value); @Override String[] inferMetavar();  }