void (@NotNull GrReferenceExpression referenceExpression) { super.visitReferenceExpression(referenceExpression); final PsiElement resolved = referenceExpression.resolve(); if (resolved instanceof GrField && manager.areElementsEquivalent(((GrField)resolved).getContainingClass(), clazz) && PsiUtil.isAccessedForWriting(referenceExpression)) { usedFields.add((GrField)resolved); } }