JVMName (PsiType psiType) { if (psiType instanceof PsiArrayType arrayType) { JVMName jvmName = getJVMQualifiedName(arrayType.getComponentType()); JVMNameBuffer buffer = new JVMNameBuffer(); buffer.append(jvmName); buffer.append("[]"); return buffer.toName(); } PsiClass psiClass = PsiUtil.resolveClassInType(psiType); if (psiClass == null) { return getJVMRawText(psiType.getCanonicalText()); } else { return getJVMQualifiedName(psiClass); } }