You cannot create arrays of parameterized types, so this code in Eclipse
ArrayList<Integer>[] list = new ArrayList[1];
Can't be parameterized , but Eclipse shows a warning
Type safety: The expression of type
ArrayList[]
needs unchecked conversion to conform toArrayList<Integer>[]
And also shows suggestion Infer Generic Type Arguments which does nothing when submitted.
Infer Generic Type Arguments Replaces raw type occurrences of generic types by parameterized types after identifying all places where this replacement is possible.
Should this suggestion be removed or am I missing something?