So this:
final List<Integer> signs = new ArrayList<Integer>(); signs.add(3); signs.add(9);
Becomes:
final List<Integer> signs = Arrays.asList(3, 9);
It should also handle list creation using anonymous inner classes (and possibly 1.7 closures) like:
final List<Integer> signs = new ArrayList<Integer>() {{ add(3); add(9); }};
Also, list creation in a loop (loop gets unrolled - loop unrolling itself would be a nice intention):
List<Integer> fiveDays = new ArrayList<Integer>(); for (int i = 1; i <= 5; ++i) { fiveDays.add(i); }
becomes:
List<Integer> fiveDays = Arrays.asList(1, 2, 3, 4, 5);