static void clearIndices(L l, int... indices) { if (l != null) for (int i : indices) l.set(i, null); }