Hello,
I was wondering if there is code available for auto-generating custom Castor mappings. I ask because I am faced with the task of serializing quite a bit of legacy code and most of it is poorly formed. The code sometimes conforms to "Bean" standards (well named getters and setters for instance variables) and sometimes doesn't (mismatched or lopsided getters & setters, poorly named getters or setters...) and my understanding is that would confuse Castor. While it is possible for me to rewrite the legacy code that isn't a practical solution in this case. My first inclination is that I should write a program that scans *.java files and "intelligently" generates mapping files (isolating instance variables on first pass and determining getters and setters via a "common sence heuristic" on the second pass). This sounds quite easy at first, but I am a bit vexed since the legacy code has lots of inner classes.
Title: Code for auto-generating CUSTOM castor mapping files
