add
Appends a per-demand message. A null entry — or a message whose DemandMessageIfc.canFillItemType is false — permanently flips canFillItemTypes to false. The legacy Java code de-referenced the message before the null check (NPE bug); this port fixes the order.