Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem generating static inner class attributes in Rose

 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

-Nate
 
Desai Sandeep
Ranch Hand
Posts: 1157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic