static L getWeakReferencesList(L> l) { new L out; for (WeakReference ref : unnull(l)) addIfNotNull(out, ref!); ret out; }