void (final @NotNull PyCallExpression node) { PyExpression callee = node.getCallee(); if (node.isCalleeText(PyNames.SET) && callee != null && PyBuiltinCache.isInBuiltins(callee)) { PyExpression[] arguments = node.getArguments(); if (arguments.length == 1) { PyElement[] elements = getSetCallArguments(node); if (elements.length != 0) registerProblem(node, PyPsiBundle.message("INSP.NAME.set.function.to.literal"), new ReplaceFunctionWithSetLiteralQuickFix()); } } }