void (@NotNull XmlAttribute attribute, @InspectionMessage String message, @NotNull ProblemsHolder holder, @NotNull LocalQuickFix @NotNull ... quickfixes) { final ASTNode node = attribute.getNode(); assert node != null; final ASTNode nameNode = XmlChildRole.ATTRIBUTE_NAME_FINDER.findChild(node); if (nameNode != null) { final PsiElement nameElement = nameNode.getPsi(); if (nameElement.getTextLength() > 0) { holder.registerProblem(nameElement, message, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, quickfixes); } } }