void (@NotNull PyReferenceExpression node) { final String referencedName = node.getReferencedName(); if (!node.isQualified() && referencedName != null) { PyFunction function = PsiTreeUtil.getParentOfType(node, PyFunction.class); if (function != null) { PyNamedParameter element = findParameterRecursively(function, referencedName); if (element != null) { final TextAttributesKey attrKey = element.isSelf() ? PyHighlighter.PY_SELF_PARAMETER : PyHighlighter.PY_PARAMETER; addHighlightingAnnotation(node, attrKey); } } } }