void (@NotNull XmlTag tag, @NotNull ProblemsHolder holder) { for (XmlAttribute xmlAttribute : tag.getAttributes()) { String attrName = xmlAttribute.getName(); if (!ArrayUtil.contains(attrName, myAttrNames)) { PsiElement attributeNameElement = getAttributeNameElement(xmlAttribute); if (attributeNameElement != null) { holder.registerProblem(attributeNameElement, myText, myType, new RemoveAttributeIntentionFix(attrName)); } } } }