public LiteralInCollectionUpdaterProperty(Property p, Object key, Object value) { setDeclaringClass(p.getDeclaringClass()); setGenericType(inferElementTypeIn(p.getGenericType())); copyAnnotationsFrom(p); String name = getName(p, key); setName(name); this.value = value; }