Login | Register
My pages Projects Community openCollabNet

Discussions > The Developers' mailing list > Aw: [argouml-dev] Some observations on java reverse engineering

argouml
Discussion topic

Back to topic list

Aw: [argouml-dev] Some observations on java reverse engineering

Author thn
Full name Thomas Neustupny
Date 2014-12-15 11:53:08 PST
Message <html><head​></head>​<body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Bob,</div>

<div>&nbsp​;</div>

<div>this is no malfunction, just a missing feature. The method bodies are completely parsed, but the information in there is not used yet. I want this feature, too, and can assist. I&#39;ve just set up my dev environment (eclipse Luna, Java 1.8, it works well so far).</div>

<div>&nbsp​;</div>

<div>The component is not generated for each class, but for each compilation unit (.java file), because a file can host more than one class. Also, the imports do not belong to the class, but to the component instance for obvious reasons. It&#39;s a great feature (not by me, I forgot who deserves the honor for that!).</div>

<div>&nbsp​;</div>

<div>I suggest to identify the lines in java.g, where the type identifier for the 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.</div>

<div>&nbsp​;</div>

<div>Regards,</div>

<div>Thomas</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gese​ndet:</b>&​nbsp;Sonntag, 14. Dezember 2014 um 18:07 Uhr<br/>
<b>Von:</b​>&nbsp;&qu​ot;Bob Tarling&quot; &lt;bob.tarling@​gmail.com&gt;​<br/>
<b>An:</b​>&nbsp;dev@argo​uml.tigris.org<br​/>
<b>Betreff:​</b>&nbsp;[ar​gouml-dev] Some observations on java reverse engineering</div>

<div name="quoted-content">
<div>
<div>I&#39;m trying to generate some diagrams from an existing code base at work and I see some issues with the model generated.<br/>
&nbsp;</div>
A simple example is this.

<div><br/>
public class UseTestUtil {<br/>
<br/>
&nbsp;&nbsp;&nbsp; private void test() {<br/>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TestUtil tu = new TestUtil();<br/>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tu.test();<br/>
&nbsp;&nbsp;&nbsp; }<br/>
}<br/>
&nbsp;</div>

<div>I&#39;d expect to see a dependency relationship from UseTestUtil to TestUtil 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/>
&nbsp;</div>

<div>I also notice a component eing generated for every class. WHy is this?<br/>
&nbsp;</div>

<div>Regards<br/>
&nbsp;</div>

<div>Bob<br/>
&nbsp;</div>

<div><br/>
&nbsp;</div>
</div>
</div>
</div>
</div>
</div></div​></body>​</html>

« Previous message in topic | 2 of 10 | Next message in topic »

Messages

Show all messages in topic

[argouml-dev] Some observations on java reverse engineering bobtarling Bob Tarling 2014-12-14 09:07:25 PST
     Aw: [argouml-dev] Some observations on java reverse engineering thn Thomas Neustupny 2014-12-15 11:53:08 PST
         Aw: [argouml-dev] Some observations on java reverse engineering thn Thomas Neustupny 2014-12-15 12:32:32 PST
             Aw: [argouml-dev] Some observations on java reverse engineering thn Thomas Neustupny 2014-12-17 14:14:25 PST
                 Re: [argouml-dev] Some observations on java reverse engineering bobtarling Bob Tarling 2014-12-18 02:29:36 PST
                     Re: [argouml-dev] Some observations on java reverse engineering tfmorris Tom Morris 2014-12-18 10:38:19 PST
                         Re: [argouml-dev] Some observations on java reverse engineering bobtarling Bob Tarling 2014-12-18 11:25:32 PST
                             Re: [argouml-dev] Some observations on java reverse engineering thn Thomas Neustupny 2014-12-18 12:37:48 PST
                                 Re: [argouml-dev] Some observations on java reverse engineering bobtarling Bob Tarling 2014-12-18 13:44:31 PST
                                     Re: [argouml-dev] Some observations on java reverse engineering bobtarling Bob Tarling 2014-12-18 13:50:35 PST
Messages per page: