void (PsiField listOwner, String suppressId) { PsiField field = listOwner; while (true) { PsiElement psiElement = PsiTreeUtil.skipWhitespacesAndCommentsForward(field); if (psiElement == null || !JavaTokenType.COMMA.equals(psiElement.getNode().getElementType())) { break; } psiElement = PsiTreeUtil.skipWhitespacesAndCommentsForward(psiElement); if (psiElement instanceof PsiField) { field = (PsiField)psiElement; RefElement refElement = myRefManager.getReference(field); if (refElement != null) { ((WritableRefElement)refElement).addSuppression(suppressId); } } else { break; } } }