error: constructor TypeToken in class TypeToken<T> cannot be applied to given types; code example
Example: error: constructor TypeToken in class TypeToken cannot be applied to given types;
Type collectionType = new TypeToken>(){}.getType();
Collection ints2 = gson.fromJson(json, collectionType);