@Override public String apply(IGeneratorFragment from) { if (from instanceof CompositeGeneratorFragment) { return Strings.toString(((CompositeGeneratorFragment) from).fragments, this, delim); } return from.getClass().getSimpleName(); }
@Override public void generate(Grammar grammar, XpandExecutionContext ctx) { if (LOG.isInfoEnabled()) { LOG.info( "generating infrastructure for " + grammar.getName() + " with fragments : " + Strings.toString(this.fragments, new ToStringFunction(", "), ", ")); } super.generate(grammar, ctx); }