PsiParameter (PsiExpression expression) { expression = PsiUtil.skipParenthesizedExprDown(expression); if (!(expression instanceof PsiReferenceExpression referenceExpression)) { return null; } final PsiElement variable = referenceExpression.resolve(); if (!(variable instanceof PsiParameter parameter)) { return null; } return !isApplicable(parameter) ? null : parameter; }