/**
  * 获取指定前缀的方法.
  *
  * @param field
  * @param targetCalss
  * @param method
  * @return
  * @throws NoSuchMethodException
  * @throws SecurityException
  */
 @SuppressWarnings("rawtypes")
 public static Method getMethod(
     Field field, Class<?> targetCalss, BeanMethod method, Class[] params)
     throws NoSuchMethodException, SecurityException {
   String fieldname = field.getName();
   StringBuffer methodName = new StringBuffer(method.toString());
   methodName.append(fieldname.substring(0, 1).toUpperCase());
   methodName.append(fieldname.substring(1));
   return targetCalss.getMethod(methodName.toString(), params);
 }