String (@NotNull PsiType type) { PsiClass psiClass = PsiUtil.resolveClassInType(type); String canonicalText = type.getCanonicalText(); String jvmName = psiClass == null ? canonicalText : ClassUtil.getJVMClassName(psiClass); return jvmName == null ? canonicalText : jvmName; }