PsiElement (@Nullable PyCallExpression setupCall) { if (setupCall == null) return null; return StreamEx .of(REQUIRES, INSTALL_REQUIRES) .map(setupCall::getKeywordArgument) .map(PyPackageUtil::resolveValue) .findFirst(Objects::nonNull) .orElse(null); }