commons-beanutils: 如果 set method return 是这个模型,无法获取 writeMethod

commons-beanutils: if set method return is this model, can't get writeMethod

private long payActualMoney; 

public long getPayActualMoney() {
  return this.payActualMoney;
}

public TAllocate setPayActualMoney(long payActualMoney) {
  this.payActualMoney = payActualMoney;
  setPayActualMoneyIsSet(true);
  return this;
}

PropertyUtils.getPropertyDescriptors 不是 return payActualMoney 的 writeMethod,并且 return 是 属性 'setPayActualMoney'

那是因为您的 setter return 类型不是 void