> You can easily get the respective JClass of any plain old class via the
> JCodeModel.
>
> JCodeModel codeModel = ... // such as implClass.owner() where
> implClass is a JDefinedClass instance
> JClass myJClass = codeModel.ref(MyClass.class)
Thanks! That's useful to know. Unfortunately I've just realised this
doesn't help me with the constructor invocation, I was thinking of
JDefinedClass. Any other ideas how I can generate this?
Thanks,
Colin