void (@NotNull PsiReferenceExpression referenceExpression) { super.visitReferenceExpression(referenceExpression); PsiElement resolved = referenceExpression.resolve(); if (resolved instanceof PsiVariable && inputVariables.contains(resolved)) { found.add((PsiVariable)resolved); } }