I have an object that has a lot of attributes, each one with it's getter and setter. Each attribute has a non primitive type, that I don't know at runtime.
For example, ...
I have a class that has many settable/gettable attributes. I'd like to use reflection to set these attributes, but I have 2 questions about my implementation
Here is some stripped down code ...
I have a class, let's say myCustomClass that has a number of setter methods such as setA setB setC ...etc. I'm able to get A, B or C dynamically and I want to call the corresponding setter method of it. For example, In one instance, what I get back is C so I want to call setC method In another instance, ...