void (@NotNull PsiJavaCodeReferenceElement reference) { super.visitReferenceElement(reference); if (reference.resolve() == mySuperClass && PsiTreeUtil.getParentOfType(reference, PsiComment.class) != null) { replacementMap.put(new UsageInfo(reference), elementFactory.createClassReferenceElement(targetClass)); } }