Quote: I found the problem and it made appear that the implementation of this javadoc improvement is going to be far more difficult than I thought because there are plenty of tests that are going to fail. (end of quote)
well, that's the purpose, right ? for every cartridge the tests are going to fail because the code generation process is going to add javadoc for parameters where possible .. don't forget to add a test for this in each cartridge where a template has changed Quote: All the more so as I just realized that I may not have another choice but to add a new getDocumentation() method to ModelElementFacade because I can't modify the existing getDocumentation method to fit my needs. (end of quote) that's fine, as long as you're overloading .. don't define a new property, just add one with different arguments Quote: Actually I was even thinking that theoretically, the best would be to override getDocumentation() in the different subclasses of ModelElementFacade, including ParameterFacade. (end of quote) no, because the reason you're overrriding in the PIM (uml metafacade) layer is because you want some specific PSM (javadoc) thing rendered I think the best way to proceed is to add a method to the StringUtilsHelper class, and this method can be completely JavaDoc aware and performing all your required logic .. you would then call this method from the templates (not the facades) as the templates are in the PSM layer anyway this is an easy and clean solution to your problem since it only affects the templates, I would avoid putting a Javadoc documentation generator in the uml metafacades because it's too close to the Java platform (in other words: during code generation for .Net it would be entirely useless) what do you think ? -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2064#2064 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user