> That brings up a good question: Does the parser that creates a
> hierarchy for Categories tokenize on a period only, or does it
> also understand $ as a seperator?  If not, then maybe
> Category.getInstance(Class clz) should translate a $ in a name
> to a period.

I don't think it should. Not only would it interfere with the
understated beauty of the code -:) but since inner classes are defined
(and probably also how they're usually implemented) in terms of a code
transformation to something without inner classes, it is perfectly
consistent to NOT to interpret Inner$Outer as having hierarchical
structure - the JVM sees it as a single class name.

--
Anders Kristensen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to