public static boolean isListType(PsiElementFactory factory, PsiType type) {
        return isTypeOf(factory, type, JAVA_UTIL_LIST);
    }
public static boolean isListType(PsiElementFactory factory, PsiType type)