void (@NotNull PsiField field) { final PsiField other = myMatchingVisitor.getElement(PsiField.class); if (other == null) return; final PsiDocComment comment = field.getDocComment(); if (comment != null && !myMatchingVisitor.setResult(myMatchingVisitor.match(comment, other.getDocComment()))) return; if (!myMatchingVisitor.setResult(checkHierarchy(other, field))) return; super.visitField(field); }