Archives: private member access

Fun with Java Reflections: Access Private Member Fields/Methods of other Classes

June 12, 2010 | By Rakhitha | No Comments | Filed in: Java Stuff.

This is a follow-up to my earlier post on Java Reflections.  In the earlier post I just showed how to invoke methods of an object dynamically using reflection. Here I am going to talk about accessing attributes of another object using reflection, with a little twist. Just like my earlier post I’ll start this with • Read More »

Tags: , , , , , , , , , , , ,