boolean (@NotNull PsiElement element) { if (element instanceof XmlTag tag && ((XmlTag)element).getLocalName().equals(DOCUMENTATION_ELEMENT_LOCAL_NAME) ) { result = tag.getValue().getText().trim(); boolean withCData = false; if (result.startsWith(CDATA_PREFIX)) { result = result.substring(CDATA_PREFIX.length()); withCData = true; } result = StringUtil.trimEnd(result, CDATA_SUFFIX); result = result.trim(); if (withCData) { result = escapeDocumentationTextText(result); } final @NonNls String s = tag.getAttributeValue("source"); if (s != null) { if (s.startsWith("http:")) url = s; else if ("version".equals(s)) { version = result; result = null; return true; } } return false; } return true; }