users@jaxb.java.net

Re: '$' in class name bug

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_Sun.COM>
Date: Tue, 06 Dec 2005 10:16:19 -0800

Dan Diephouse wrote:
> Hi,
> Sometimes with annotations there can be a $ in the class name. I.e. when
> I reference the SOAPBinding.Style.DOCUMENT annotation, it shows up as
> SOAPBinding$Style.DOCUMENT. This patch fixes the problem.
> - Dan

Thanks. Committed.

Technically, this patch isn't quite correct --- if it's an inner class,
we JReferencedClass needs to be inside another JClass, and the simple
name of the class needs to return "Style".

But this patch is better than the current code, so I applied it any way.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com