Exemplo n.º 1
0
  protected ArrayProperty(JAXBContextImpl context, RuntimePropertyInfo prop) {
    super(context, prop);

    assert prop.isCollection();
    lister =
        Lister.create(
            Navigator.REFLECTION.erasure(prop.getRawType()), prop.id(), prop.getAdapter());
    assert lister != null;
    acc = prop.getAccessor().optimize(context);
    assert acc != null;
  }
Exemplo n.º 2
0
 public void reset(BeanT o) throws AccessorException {
   lister.reset(o, acc);
 }