void (@NotNull PsiAssignmentExpression expression) { PsiExpression r = expression.getRExpression(); if (r != null && expression.getLExpression() instanceof PsiReferenceExpression ref && ref.resolve() instanceof PsiModifierListOwner owner) { PsiType type = expression.getType(); checkExpression(r, owner, type, holder); } }