Aw: Some observations on java reverse engineering
Thomas Neustupny <[email protected]> Mon, 15 Dec 2014 21:32:28 +0100
| Newsgroups | gmane.comp.lang.uml.argouml.devel |
|---|---|
| Message-ID | <trinity-759e6206-9784-4589-bae3-f03e9d6318e0-1418675548759__26647.50531917$1418675565$gmane$org@3capp-gmx-bs71> |
[Sorry for accidently sending in hmtl format, I'm resending it in plain tex= t format] =C2=A0 Hi Bob, this is no malfunction, just a missing feature. The method bodies are compl= etely parsed, but the information in there is not used yet. I want this fea= ture, too, and can assist. I've just set up my dev environment (eclipse= Luna, Java 1.8, it works well so far). The component is not generated for each class, but for each compilation uni= t (.java file), because a file can host more than one class. Also, the impo= rts do not belong to the class, but to the component instance for obvious r= easons. It's a great feature (not by me, I forgot who deserves the hono= r for that!). I suggest to identify the lines in java.g, where the type identifier for th= e associated class/interface can be found and discuss how to process them. = The parser has two passes, so we could search the already identified types = from the first pass during the second phase. Regards, Thomas 14 um 18:07 Uhr<br/> <b>Von:</b> "Bob Tarling" <[email protected]><br/> <b>An:</b> [email protected]<br/> <b>Betreff:</b> [argouml-dev] Some observations on java reverse engine= ering</div> <div name=3D"quoted-content"> <div> <div>I'm trying to generate some diagrams from an existing code base at= work and I see some issues with the model generated.<br/> </div> A simple example is this. <div><br/> public class UseTestUtil {<br/> <br/> private void test() {<br/> TestUtil tu =3D new TestUtil();<br/> tu.test();<br/> }<br/> }<br/> </div> <div>I'd expect to see a dependency relationship from UseTestUtil to Te= stUtil but nothing is generated. Is there some complication with our parser= not being able to manage this or is this just an outstanding enhancement.<= br/> </div> <div>I also notice a component eing generated for every class. WHy is this?= <br/> </div> <div>Regards<br/> </div> <div>Bob<br/> </div> <div><br/> </div> </div> </div> </div> </div> </div></div></body></html> ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=3D450&dsMessageId=3D3= 092752 To unsubscribe from this discussion, e-mail: [[email protected]= s.org]. To be allowed to post to the list contact the mailing list moderator, email= : [[email protected]] ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=3D450&dsMessageId=3D3= 092754 To unsubscribe from this discussion, e-mail: [[email protected]= s.org]. To be allowed to post to the list contact the mailing list moderator, email= : [[email protected]]