void (@NotNull PsiAssignmentExpression assignment) { super.visitAssignmentExpression(assignment); PsiExpression lExpression = assignment.getLExpression(); PsiExpression rExpression = assignment.getRExpression(); if (rExpression != null && lExpression instanceof PsiReferenceExpression && fieldNames.contains(((PsiReferenceExpression)lExpression).getReferenceName())) { PsiElement target = ((PsiReferenceExpression)lExpression).resolve(); if (target instanceof PsiField && ((PsiField)target).getContainingClass() == psiClass) { result.putValue((PsiField)target, rExpression); } } }