Hey Ivan!
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?
~Lincoln
On Sat, Jul 21, 2012 at 4:04 PM, Ivan St. Ivanov
<ivan.st.ivanov(a)gmail.com>wrote:
Hi folks,
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).
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.
Or maybe I'm missing something?
Cheers,
Ivan
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."