It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.