Currently I'm working on a new open source project that needs the following feature : add a property, method or class to a given valid
java source file in a neat way.
This should be done before and there should be dozens of projects that use this feature. But each and every project, like elide and qdox, have some problems with preserving comments. Therefore I got some doubts about how easy this is to solve.
Therefore I'm posting this question before spending a week or so trying to solve this problem. Does anyone like to share some knowledge with me about this topic. Is there a well known project that has got this feature and could you give me some example code? Is it straightforward to solve this problem with projects like jjtree, javacc, antlr, ... Could you give me some example code or references.
The result sould be something like :
Thnx in advance!!
[ September 29, 2004: Message edited by: Arnold Reuser ]