Here you can find the source of createEmptyList(Class
static <T> List<T> createEmptyList(Class<T> type)
//package com.java2s; import java.util.ArrayList; import java.util.List; public class Main { static <T> List<T> createEmptyList(Class<T> type) { return new ArrayList<T>(); }/* www. j a v a2s . co m*/ }