boolean (@NotNull final XmlTag xmlTag, final ProcessingContext context) { final XmlTag parent = xmlTag.getParentTag(); return parent != null && pattern.accepts(parent, context) && parent.getSubTags()[0] == xmlTag; }