void (@NotNull PsiLocalVariable variable) { if (variable != myVariable) { for (PsiReferenceExpression reference : VariableAccessUtils.getVariableReferences(variable, myParent)) { if (!isInside(reference)) { addSideEffect(); return; } } } super.visitLocalVariable(variable); }