boolean (GrReferenceExpression expression) { if (myConfiguration.getAdvancedConfiguration().getDfaOption() == Configuration.DfaOption.OFF) return true; final PsiElement e = expression.resolve(); if (e instanceof PsiVariable && !(e instanceof GrBindingVariable)) { if (e instanceof PsiParameter p) { final PsiElement declarationScope = p.getDeclarationScope(); final PsiMethod method = declarationScope instanceof PsiMethod ? (PsiMethod)declarationScope : null; final PsiParameterList parameterList = method == null ? null : method.getParameterList(); // don't check catch block parameters & etc. if (!(parameterList == null || parameterList != e.getParent()) && areThereInjectionsWithName(method.getName(), false)) { final int parameterIndex = parameterList.getParameterIndex(p); process((PsiModifierListOwner)e, method, parameterIndex); } } visitVariable((PsiVariable)e); } return !myShouldStop; }