Here you can find the source of CAST_LIST(Class
@SuppressWarnings("unchecked") public static <T> List<T> CAST_LIST(Class<T> className, Object obj)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { @SuppressWarnings("unchecked") public static <T> List<T> CAST_LIST(Class<T> className, Object obj) { return (List<T>) obj; }//from w w w .j a va 2s .co m }