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
--
Dan Diephouse
Envoi Solutions LLC
http://netzooid.com
Index: JCodeModel.java
===================================================================
RCS file: /cvs/jaxb2-sources/jaxb-ri/codemodel/src/com/sun/codemodel/JCodeModel.java,v
retrieving revision 1.14
diff -u -r1.14 JCodeModel.java
--- JCodeModel.java 26 Sep 2005 22:08:19 -0000 1.14
+++ JCodeModel.java 2 Dec 2005 04:23:09 -0000
@@ -470,7 +470,7 @@
}
public String name() {
- return _class.getSimpleName();
+ return _class.getSimpleName().replace('$','.');
}
public String fullName() {