We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
直接用反射还是不太好吧!
The text was updated successfully, but these errors were encountered:
你好,对比过 “反射” 与 “调用set方法” 两种赋值方法,前者耗时进位后者 6%,性能差异太大,所以暂时保持反射方式。
field.setAccessible(true); field.set(pageVo, fieldValue);
PropertyDescriptor pd = new PropertyDescriptor(field.getName(), pageVoClassType); Method method = pd.getWriteMethod(); method.invoke(pageVo, fieldValue);
Sorry, something went wrong.
No branches or pull requests
直接用反射还是不太好吧!
The text was updated successfully, but these errors were encountered: