String (final AbstractTagInjection injection) { final String name = injection.getTagName(); final String namespace = injection.getTagNamespace(); final StringBuilder result = new StringBuilder("xmlTag()"); if (StringUtil.isNotEmpty(name)) appendStringPattern(result, ".withLocalName(", name, ")"); if (StringUtil.isNotEmpty(namespace)) appendStringPattern(result, ".withNamespace(", namespace, ")"); return result.toString(); }