void (@NotNull PyCallExpression node) { if (node.getParent() instanceof PyDecorator) return; //if it's in decorator, then we've already highlighted it as a decorator final PyReferenceExpression callee = as(node.getCallee(), PyReferenceExpression.class); if (callee != null) { if (!callee.isQualified() && PyBuiltinCache.isInBuiltins(callee)) { return; } final ASTNode functionName = callee.getNameElement(); if (functionName != null) { final TextAttributesKey attrKey = callee.isQualified() ? PyHighlighter.PY_METHOD_CALL : PyHighlighter.PY_FUNCTION_CALL; addHighlightingAnnotation(functionName, attrKey); } } }