This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I ran into a problem today with Rational Rose. I have a class ( called FileAdapter ) with several inner classes, one of which is static ( called FileAdapterDataFactory, extends Object ). This static inner class has a private static attribute ( called fileTable, a HashMap ). This static attribute of the static inner class looks okay in Rose ( its definition looks just like other static attributes of other classes that generate okay ). However, when I generate a Java file from Rose, the static modifier is not on this attribute...
Anyone else run into this problem?
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Hi Nathan, I am sorry this is not a reply to your problem. However, I am very curious to know about patterns used to identify inner classes (static/non-static).I have never received a reply for my posts on this issue.If you are aware, could you please let me know regarding the same. Thank you, Sandeep
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Problem generating static inner class attributes in Rose