@Test public void testParse() { final String description = "This is an argument description"; final ScriptArgument arg = parser.parseElement("@arg " + description); assertThat(arg.getDescription()).isEqualTo(description); }
@Override protected ScriptArgument parseElement(final String line) { final int spacePos = line.indexOf(' '); return new ScriptArgument(StringUtils.strip(line.substring(spacePos + 1))); }
ScriptArgumentParser extends AbstractMultiTagParser<ScriptArgument> { @Override protected ScriptArgument parseElement(final String line) { final int spacePos = line.indexOf(' '); return new ScriptArgument(StringUtils.strip(line.substring(spacePos + 1))); } }
ScriptArgumentParser extends AbstractMultiTagParser<ScriptArgument> { @Override protected ScriptArgument parseElement(final String line) { final int spacePos = line.indexOf(' '); return new ScriptArgument(StringUtils.strip(line.substring(spacePos + 1))); }  }
ScriptArgumentParser extends AbstractMultiTagParser<ScriptArgument> { @Override protected ScriptArgument parseElement(final String line) { final int spacePos = line.indexOf(' '); return new ScriptArgument(StringUtils.strip(line.substring(spacePos + 1))); }   }
ScriptArgumentParser extends AbstractMultiTagParser<ScriptArgument> { @Override protected ScriptArgument parseElement(final String line) { final int spacePos = line.indexOf(' '); return new ScriptArgument(StringUtils.strip(line.substring(spacePos + 1))); }    }