void (@NotNull PsiReferenceExpression expression) { super.visitReferenceExpression(expression); final PsiElement target = expression.resolve(); if (PsiUtil.isJvmLocalVariable(target)) { variables.add((PsiVariable)target); } if (target instanceof PsiMember) { DfaValue escapedVar = JavaDfaValueFactory.getQualifierOrThisValue(getFactory(), expression); if (escapedVar == null) { escapedVar = JavaDfaValueFactory.getExpressionDfaValue(getFactory(), expression); } if (escapedVar instanceof DfaVariableValue dfaVar) { escapedVars.add(dfaVar); } } }