private static @NotNull PsiType toArray(@NotNull PsiType paramType) {
    if (paramType instanceof PsiEllipsisType) {
      return ((PsiEllipsisType)paramType).toArrayType();
    }
    return paramType;
  }
private static @NotNull PsiType toArray(@NotNull PsiType paramType)