/** * Whether the wrapper is nillable. * * @return Whether the wrapper is nillable. */ public boolean isWrapperNillable() { boolean nillable = false; XmlElementWrapper xmlElementWrapper = getAnnotation(XmlElementWrapper.class); if (xmlElementWrapper != null) { nillable = xmlElementWrapper.nillable(); } return nillable; }