void (@NotNull UElement node) { for (UComment comment : node.getComments()) { PsiElement psi = comment.getSourcePsi(); if (psi instanceof PsiDocComment) { final PsiDocTag[] tags = ((PsiDocComment)psi).getTags(); for (PsiDocTag tag : tags) { if (Comparing.strEqual(tag.getName(), SuppressionUtilCore.SUPPRESS_INSPECTIONS_TAG_NAME)) { final PsiElement[] dataElements = tag.getDataElements(); if (dataElements.length > 0) { final PsiModifierListOwner listOwner = PsiTreeUtil.getParentOfType(psi, PsiModifierListOwner.class); if (listOwner != null) { final WritableRefElement element = (WritableRefElement)myRefManager.getReference(listOwner); if (element != null) { String suppression = StringUtil.join(dataElements, PsiElement::getText, ","); element.addSuppression(suppression); } } } } } } } }