void (@NotNull PsiClass targetClass) { Kind kind = getKindEnum(getContainingFile()); if (kind != Kind.CLASS_NAME_KIND && kind != Kind.CLASS_OR_PACKAGE_NAME_KIND && kind != Kind.CLASS_IN_QUALIFIED_NEW_KIND) { LOG.error("Wrong kind " + kind); return; } JavaSourceUtil.fullyQualifyReference(this, targetClass); }