XmlElementDescriptor[] (XmlTag context) { final Set<XmlElementDescriptor> descriptors = new LinkedHashSet<>(Arrays.asList(super.getElementsDescriptors(context))); for (DElementPattern pattern : myPatterns) { final List<DElementPattern> list = ChildElementFinder.find(2, pattern); descriptors.addAll(Arrays.asList(myNsDescriptor.convertElementDescriptors(list))); } return descriptors.toArray(XmlElementDescriptor.EMPTY_ARRAY); }