SearchScope () { if (myExpression.getParent() instanceof PsiExpressionList list && list.getParent() instanceof PsiCallExpression call) { return new LocalSearchScope(call); } return LocalSearchScope.EMPTY; }