void () { final XmlDocument doc = getContainingDocument(); if (doc != null) { final XmlTag rootTag = doc.getRootTag(); if (rootTag instanceof TreeElement) { ((TreeElement)rootTag).clearCaches(); } } super.clearCaches(); }