为什么 Spring 的 ReflectionUtils 被标记为“仅供内部使用"? [英] Why Spring's ReflectionUtils marked as "Only intended for internal use"?

查看:45
本文介绍了为什么 Spring 的 ReflectionUtils 被标记为“仅供内部使用"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用这个库吗?还是不受欢迎?为什么?

Can I use this library? Or is it not desirable? And why?

我试图寻找答案,但没有找到有关此警告的任何信息.

I was trying to find answer, but have found nothing about this warning.

如果使用这个库不是一个好主意,也许你可以建议我另一个库.

If usage of this library is not good idea, may be you will able to advise me another library.

感谢提前!

推荐答案

你可以使用它,我认为Spring改变它的可能性很小,但是没有具体的意图 来自 Spring 开发团队,以保持该类的原样,而不是他们使用公共/非内部 API 所做的事情.

You can use it and I think the chances of Spring changing it are quite small, but there's no concrete intention from the Spring development team to keep that class as it's, as opposed to what they do with their public/non-internal APIs.

因此,如果将来更改,Spring 人员将不会接受任何'类型的抱怨,但是我的代码取决于该类,而您可以更改它!.

So if it changes in the future, the spring guys won't be accepting any complains of the type 'but my code depends on that class and you change it!.

这篇关于为什么 Spring 的 ReflectionUtils 被标记为“仅供内部使用"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆