Given an object, this method will use reflection to automatically find getter and setter method pairs, and create Parameter object for each getter setter pair. Getters are found by searching for no argument methods that start with "get" or "is". Setters are found by searching for one argument me
(final Object obj)
| 207 | * @return a list of parameter objects generated from the given object |
| 208 | */ |
| 209 | public static List<Parameter> getParamsFromMethods(final Object obj) |
| 210 | { |
| 211 | return getParamsFromMethods(obj, ""); |
| 212 | } |
| 213 | |
| 214 | private static List<Parameter> getParamsFromMethods(final Object obj, String prefix) |
| 215 | { |