private static @NotNull String getArrayTypeText(PsiType componentType) {
    if (componentType instanceof PsiArrayType arrayType) {
      return getArrayTypeText(arrayType.getComponentType()) + "[]";
    }
    if (componentType instanceof PsiClassType classType) {
      return classType.rawType().getCanonicalText() + "[0]";
    }
    return componentType.getCanonicalText() + "[0]";
  }
private static @NotNull String getArrayTypeText(PsiType componentType)