Hey Ivan!<br><br>You're correct, the JDT probably doesn't have a convenient method for this (it doesn't have much that is convenient,) but what are your proposed changes? <br><br>~Lincoln<br><br><div class="gmail_quote">
On Sat, Jul 21, 2012 at 4:04 PM, Ivan St. Ivanov <span dir="ltr"><<a href="mailto:ivan.st.ivanov@gmail.com" target="_blank">ivan.st.ivanov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<div><br></div><div>I wonder is it possible to add a field to a JavaClass and to set an array as its type. The setType(String) method does not support arrays yet and I don't want to use the other two variants of this method (taking Class and JavaResource parameters).</div>
<div><br></div><div>I looked at the mentioned method (setType(String)). And found a suitable place where I could add the support for arrays. However, I'm afraid that JDT's AST class does not have a convenient newArray....() method.</div>
<div><br></div><div>Or maybe I'm missing something?</div><div><br></div><div>Cheers,</div><div>Ivan</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><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."<br>