Community

CtClass getNestedClasses() returns the same class when applied to an anonymous class

created by Dam Dam in Javassist Development - View the full discussion

Hello everyone,

 

I think I have found a bug using CtClass.getNestedClasses(). When I apply this method to a CtClass which is an anonymous class, like "com.bla.MyClass$1", it returns the array with the same class as its first element : "com.bla.MyClass$1".

 

Is this a bug, or am I missing something ?

 

Thanks for the replies,

Dam.

Reply to this message by going to Community

Start a new discussion in Javassist Development at Community