Book a Demo

Author Topic: Reverse Engineering from Java  (Read 2515 times)

Rob_Lam

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reverse Engineering from Java
« on: November 29, 2004, 08:30:14 am »
I'm fairly new to this product so...

I'm trying to reverse engineer some java code to display the class diagrams.  I problem I have is that many of the classes were written to define methods as, eg.:

public class ClassName
{
    int _variable1;

    public int getInfo
                        (int aParam1,
                         int aParam2)
   
   {
        code...
   }
}

when I reverse this code,

The method getInfo ( ), gets translated as an attribute in the class diagram.

When I change the method definition to :

    public int getInfo (int aParam1,  int aParam2)

The method gets translated to a method properly in the diagram.

Aside from changing all the classes to this convention (of which there are many classes), is there something else I can do, or am I missing something?

Thanks in advance,
Rob

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineering from Java
« Reply #1 on: November 29, 2004, 01:32:31 pm »
I've just fixed the problem, so I'd suggest that you wait until build 741 is released.  I wouldn't expect it to be more than a couple of weeks away.

Simon