void (@NotNull PyReferenceExpression node) { final PyExpression qualifier = node.getQualifier(); if (ignoreAnnotations && PsiTreeUtil.getParentOfType(node, PyAnnotation.class) != null) return; if (qualifier == null || ArrayUtil.contains(qualifier.getText(), PyNames.CANONICAL_SELF, PyNames.CANONICAL_CLS)) return; if (isImportFromTheSamePackage(node)) return; checkReference(node, qualifier); }