Enhancing XJC listener
I would like to retrieve the following information from XjcListener interface:
I need to know what Java construct (member, methods, class) is generated from what XSD artifact. This will allow IDE that uses JAXB 2.0 to provide hyperlinks between XSD artifacts and the generated code - to show the end user what was generated from what.
The callback function must provide Locator (exactly as returned from xsom) and information on Java construct that will include Java filename, line number and construct kind (member to store attribute, member to store sequence element, methods for get and set, class for complex type etc.)
This functionality will allow changing the resulting Java code and not breaking the IDE, effectively decoupling them and not making IDE take hard-coded decisions.