JavaMethod jm = pSource.newJavaMethod("getAttributes", AttributesImpl.class, "protected");
DirectAccessible pData = jm.addParam(JavaQNameImpl.getInstance(JMXmlSerializer.Data.class), "pData");
DirectAccessible pElement = jm.addParam(Object.class, "pElement");
jm.addThrows(SAXException.class);
LocalJavaField result = jm.newJavaField(AttributesImpl.class);
result.addLine("super.getAttributes(", pData, ", ", pElement, ")");
JavaQName elementInterface = pController.getClassContext().getXMLInterfaceName();
LocalJavaField element = jm.newJavaField(elementInterface);
element.addLine("(", elementInterface, ") ", pElement);
AttributeSG[] myAttributes = pController.getAttributes();