Book a Demo

Author Topic: Reverse Engineering of .class and .jar files  (Read 7110 times)

gregf

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Reverse Engineering of .class and .jar files
« on: December 30, 2002, 09:06:48 pm »
EA Team,

In my designs, I really need to reference .class files that may or may not be contained in a jar file. Basically, a design tool should allow for reverse engineering of compiled and archived files the same way it handles .java files. Obviously, the source code could not be accessed, but the class structure and method signature details would be available for dragging and dropping onto any logical diagram I create. It's really, really difficult to think about designs that descend from core java classes or 3rd party libraries without this feature. Rational Rose has this feature, as do most other UML design tools. I've looked everywhere in the help files, and have searched these forums, but don't see any indicator of how to do this.

Does this exist in EA? If not, that's a pretty serious shortcoming....

Thanks a lot,

Greg

Steve_Straley

  • EA User
  • **
  • Posts: 183
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering of .class and .jar files
« Reply #1 on: December 31, 2002, 08:00:12 am »
Greg,

Can you not decompile the java code and then import?  One of the ones we use is at http://jode.sourceforge.net/.   This seems to work for for us and allows us to then import into our model.

Steve
Steve Straley