boolean (@NotNull PsiElement element, List<? super XmlElement> list) { boolean result = false; for (SpecialElementExtractor extractor : SpecialElementExtractor.EP_NAME.getExtensionList()) { final PsiElement[] elements = extractor.extractSpecialElements(element); for (PsiElement specialElement : elements) { if (specialElement instanceof XmlTag) { list.add((XmlElement)specialElement); result = true; } } } return result; }