void (@NotNull PyParameter node) { final PyFunction function = PsiTreeUtil.getParentOfType(node, PyFunction.class); if (function != null) { final TextAttributesKey attrKey = node.isSelf() ? PyHighlighter.PY_SELF_PARAMETER : PyHighlighter.PY_PARAMETER; if (isArgOrKwargParameter(node)) { addHighlightingAnnotation(node, attrKey); } else { addHighlightingAnnotation(node.getFirstChild(), attrKey); } } }