On 24/10/06, Max Rydahl Andersen <max.andersen(a)jboss.com>
> > I'm not entirely sure of the distinction between getShortName and
> > getDeclarationName - the latter seems to account for meta attributes
> > whereas the former doesn't. Also, changing getJavaTypeName requires
> > altering the behaviour of ImportContextImpl such that:
> > ImportContextImpl.importType("a.b.X.Y") == "X.Y" (import
> Again, how do you know wether a name is a class or an inner class?
Looking at the uses of ImportContext, the FQCN being passed into
importType is of the form that is return by Class.getName. For
inner-classes, this uses the dollar syntax, e.g. "a.b.X$Y". If this
is definitely the case, then we can change ImportContextImpl to
support inner-classes as described above.
maybe...need to run the testsuite to see if something blows because of
I'm happy to patch this, but was curious about any knock-on
I've tried running the tools tests but get a heap of errors - is there
any special configuration I'm unaware of for them to pass?
What errors do you see ?
Parts of the testsuite runs best against HSQLDB with
hibernate.default_schema set to PUBLIC.
Max Rydahl Andersen
JBoss a division of Red Hat