<div>
<p style="margin:0px">Hi Lincoln,</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">jandex does more things than i need:</p>
<p style="margin:0px">for my test, i removed some methods inside jandex ((e.g.:i don&#39;t care about annotations inside classes -  i removed the generation of jandex file index).</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">I started using the default jandex code, but to reduce the time of scanning my jars inside test case, i modified the jandex source code.</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">It&#39;s dirty code..but the understand how  jandex works, i needed that!</p>
<p style="margin:0px"><br></p>
<p style="margin:0px"> have a nice we,</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">fiorenzo</p><br><div class="gmail_quote">2012/10/26 Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And why did you fork the Jandex repo? :p<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 10:16 AM, JFlower <span dir="ltr">&lt;<a href="mailto:fiorenzino@gmail.com" target="_blank">fiorenzino@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dirty hacking code!<div><br></div><div>:-)</div><div><br><br><div class="gmail_quote">2012/10/26 Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;</span><div>

<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I may be a bit ignorant about Jandex. But what is a FlowerIndex? ;) Lol.<span><font color="#888888"><br>
<br>~Lincoln</font></span><div><div><br><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 9:08 PM, JFlower <span dir="ltr">&lt;<a href="mailto:fiorenzino@gmail.com" target="_blank">fiorenzino@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>i created this jira: <a href="https://issues.jboss.org/browse/FORGE-699" target="_blank">https://issues.jboss.org/browse/FORGE-699</a></div>



<div><br></div><div>my code: <a href="https://github.com/fiorenzino/jandex/tree/FORGE-699" target="_blank">https://github.com/fiorenzino/jandex/tree/FORGE-699</a></div>
<div><br></div><div>Comments are always welcome!!</div><div><br></div><div>Fiorenzo</div><div><br></div><div>ps: my first jandex hacking <a href="https://gist.github.com/3956397" style="font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px;color:rgb(0,51,102);text-decoration:none" target="_blank">https://gist.github.com/3956397</a></div>




<div><p style="margin:16px 0px 0px;padding:0px;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px;background-color:rgb(240,240,240)"><b>numbers: <font face="Arial, FreeSans, Helvetica, sans-serif">66 libraries - </font><font face="Arial, FreeSans, Helvetica, sans-serif">scanned in 1458 milliseconds - </font><font face="Arial, FreeSans, Helvetica, sans-serif">15036 classes (with subclasses)</font></b></p>




<p style="margin:16px 0px 0px;padding:0px;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px;background-color:rgb(240,240,240)"><font face="Arial, FreeSans, Helvetica, sans-serif"><br></font></p>




<br><div class="gmail_quote">2012/10/24 Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;</span><div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Responses inline..<br><br><div class="gmail_quote"><div>On Tue, Oct 23, 2012 at 7:38 PM, JFlower <span dir="ltr">&lt;<a href="mailto:fiorenzino@gmail.com" target="_blank">fiorenzino@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>i started to find material to solve the bugs in object.</div><div><br></div><div><b>1) (FORGE-367) [SOLVED] question: how add import with wildcard and/or static:</b></div><div><br></div><div>see my comment: <a href="https://issues.jboss.org/browse/FORGE-367#comment-12728726" target="_blank">https://issues.jboss.org/browse/FORGE-367#comment-12728726</a></div>






<div><br></div><div>In this version we accept wildcard inside the className and we accept static option:</div><div><b>- javaClass.addImport(&quot;org.junit.Assert.*&quot;).setStatic(true);</b></div></blockquote></div><div>




<br>
I like the way you have solved this. <br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>If you want we could add a new method:</div>

<div><b>- javaClass.addStaticImport(&quot;org.junit.Assert.*&quot;);</b></div></blockquote></div><div><br>No, I don&#39;t think this is necessary. We should be able to make the right decision.<br> </div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div><br></div><div><b>2) (FORGE-563 - FORGE-424) question: creation of some WildcardImportResolver implementation</b> - where this resolver should find the complete className when we have some wildcard import?</div></blockquote>





</div><div><br>That&#39;s the tricky part.<br> <br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div>- Could we use the current ClassLoader and find all classes in that?</div><div><br></div></blockquote></div><div><br>Well... the problem is that we can&#39;t use the Current classloader because that would be Forge&#39;s classloader. We need the classloader of the project, which is not actually classloaded, so we would need to classload the project (potentially very slow without an index.)<br>





 </div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>- Could we create some index with all classes inside all mvn dependencies/modules jar [using jboss module capabilities? using tattletale? ]</div>






<div><br></div></blockquote></div><div>We need to do *something* - I&#39;ll leave it up to you to play with some ideas and see what works well or not!<br> </div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div></div><div>- Could we<b> </b>use jboss jandex to do that (also if jandex is <span style="background-color:rgb(246,246,246);font-family:Trebuchet,&#39;Trebuchet MS&#39;,Arial,sans-serif;font-size:13px">processes Java annotations)</span>?</div>






<div><a href="http://javahowto.blogspot.de/2012/08/how-to-run-jboss-jandex.html" target="_blank">http://javahowto.blogspot.de/2012/08/how-to-run-jboss-jandex.html</a></div><div><a href="https://github.com/jbossas/jandex/blob/master/src/main/java/org/jboss/jandex/JarIndexer.java" target="_blank">https://github.com/jbossas/jandex/blob/master/src/main/java/org/jboss/jandex/JarIndexer.java</a></div>






<div><br></div><div><br></div></blockquote></div><div>Potentially.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>Have you some idea?</div>




<div><br>
</div></blockquote><div>Nothing you haven&#39;t already mentioned :)<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div><br></div><div>Fiorenzo</div>






<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>

</font></span><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>
</div></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>
</div></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br></div>