100101102103104105106107
public void initSlots(Slot[] slots) { assert slots != null; for (Slot slot : slots) { slotsByID.put(slot.getId(), slot); slotsToValueResolvers.put(slot, new NullViewItemResolver()); } }