@NotNull
  public static PsiType createArrayType(@NotNull PsiType newType, int arrayDim) {
    for(int i = 0; i < arrayDim; i++){
      newType = newType.createArrayType();
    }
    return newType;
  }
@NotNull
  public static PsiType createArrayType(@NotNull PsiType newType, int arrayDim)