import java.util.ArrayList;
import java.util.List;

class T {
  public void test() {
    List<String> list1 = <selection>new ArrayList<>();</selection>
    List<Integer> list2 = new ArrayList<>();
    List<String> list3 = new ArrayList<>();
  }
}