Replaces a Collections.emptyList() or Collections.singletonList() call with a call to Arrays.asList().