protected void putSetMethodValueByField(DataSupport dataSupport,Field field,Object parameter) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
  if (shouldGetOrSet(dataSupport,field)) {
    String setMethodName=makeSetterMethodName(field);
    DynamicExecutor.send(dataSupport,setMethodName,new Object[]{parameter},dataSupport.getClass(),new Class[]{field.getType()});
  }
}

protected void putSetMethodValueByField ( DataSupport dataSupport , Field field , Object parameter ) throws SecurityException , NoSuchMethodException , IllegalArgumentException , IllegalAccessException , InvocationTargetException { if ( shouldGetOrSet ( dataSupport , field ) ) { String setMethodName = makeSetterMethodName ( field ) ; DynamicExecutor . send ( dataSupport , setMethodName , new Object [ ] { parameter } , dataSupport . getClass ( ) , new Class [ ] { field . getType ( ) } ) ; } }
it finds the setter method by the field . for example , field name is age , setter method name will be setage . then invoke the setter method with necessary parameter .
