dev@jaxb.java.net

Re: XJC: get the narrowed class of an JClass or an JFieldVar

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 23 Nov 2009 16:34:32 +0100

Hi,

> Is there an easy way, to get the narrowed classes? Like getNarrowedClasses()
> that return in the case of ArrayList<String> the String-class?

Narrowed classes are instances of JNarrowedClass, you can cast to this
class and use the getTypeParameters() method.

MfG,
/lexi