String (@NotNull PsiClass psiClass) { StringBuilder name = new StringBuilder(Objects.requireNonNull(psiClass.getName())); for (PsiClass parent : JBIterable.generate(psiClass.getContainingClass(), PsiClass::getContainingClass)) { name.insert(0, parent.getName() + "."); } return name.toString(); }