Java List Null Empty immutableListOfType(List list, Class type, boolean nullOk)

Here you can find the source of immutableListOfType(List list, Class type, boolean nullOk)