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 implementati
Using setter methods is the accepted way to set values for class member variables, reflection should definitely not be used for that as the code will be harder to understand and run much more slowly.
Most IDEs (eg Eclipse or NetBeans) include tools for automatically creating getter and setter methods for a class's fields.