void (@NotNull GrCodeReferenceElement ref) { super.visitCodeReferenceElement(ref); PsiElement resolveResult = getResolveElement(ref); checkRef(resolveResult, ref.getReferenceNameElement(), ref.getReferenceName()); }