Ref<PyExpression> (@NotNull PyStarArgument starArgument) { // TODO: support call, reference expressions here final PyDictLiteralExpression dictExpr = PsiTreeUtil.getChildOfType(starArgument, PyDictLiteralExpression.class); final PyCallExpression callExpression = PsiTreeUtil.getChildOfType(starArgument, PyCallExpression.class); final String key = myChunk.getMappingKey(); assert key != null; if (dictExpr != null) { return getElementFromDictLiteral(dictExpr, key); } else if (callExpression != null) { return resolveDictCall(callExpression, key, false); } return null; }