boolean (final @NotNull PsiElement element) { if (element instanceof XmlAttributeDecl) { if (element.getNextSibling() == null && element.getChildren().length == 1) { return true; } return super.execute(element); } return true; }