On 24/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote:
> 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 a.b.X)
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.
I'm happy to patch this, but was curious about any knock-on effects.
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?
Mark
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev