How to access private method of an inner class using reflection.
843789Jul 13 2009 — edited Jul 15 2009Can somebody tell me that how can i access private method of an inner class using reflection.
There is a scenario like
class A
{
class B
{
private fun() {
--------------
--------------
}
}
}
now i want to use method fun() of an inner class inside third class i.e "class c".
Can i use reflection in someway to access this private method fun() in class c.