No idea, but OuterClass.class.getClasses() always works fine for me, and also getDeclaredClasses().
On 10/13/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
On 10/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yep - was my first try. But for some reasons I couldnt load that class via reflection. > Do you have a suggestion? I would prefer inner classes too. ... Hmmm, interesting. May be a '.' or '/' vs. '$' issue between the outer and inner. It may be something specific to the Ant test cases, because I believe some tasks have enums as static inners. --DD PS: You didn't forget the static keyword, no? I had to ask ;-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Houston, we have a problem." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]