Re: When will reflections support casting (especially for constructors, etc) properly?



> Also the private/public/protected modifier for the method (doSomething,
> in this example) MUST be public (even if reflection code lives within
> the class C), any around this?

Method.setAccessible(boolean)


.