Hi,
> Thanks for your response. (The footer is obviously not of my generation...)
Yes, I understand, was not a reproach. :)
> .array() seems serviceable enough but here is another likely obvious question:
>
> How do I get a JClass (or JDefinedClass) representation for String to invoke array() upon?
JCodeModel.ref(String.class)
If you're interested in usage examples of CodeModel, check JAXB2
Basics, for instance. There's a lot of relevant code:
http://java.net/projects/jaxb2-commons/sources/svn/show/basics/trunk
Or Hyperjaxb3.
Bye,
/lexi