I found a way to get inherited members via class.getDeclaredFields();
and acces to private members via class.getFields()
But i’m looking for private inherited fields.
How can i achieve this?
I found a way to get inherited members via class.getDeclaredFields(); and acces to private
Share
In fact i use a complex type hierachy so you solution is not complete.
I need to make a recursive call to get all the private inherited fields.
Here is my solution