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">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><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><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>
<div><br></div><div>- Could we use the current ClassLoader and find all classes in that?</div><div><br></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><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">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">https://github.com/jbossas/jandex/blob/master/src/main/java/org/jboss/jandex/JarIndexer.java</a></div>
<div><br></div><div><br></div><div>Have you some idea?</div><div><br></div><div><br></div><div>Fiorenzo</div>