开发者

Reflective helper java libraries

开发者 https://www.devze.com 2023-01-19 16:29 出处:网络
There are some开发者_如何学Python Java libraries that do stuff you would otherwise have to put in every single class. For example, I had to put a clone() method in every single class until I discovere

There are some开发者_如何学Python Java libraries that do stuff you would otherwise have to put in every single class. For example, I had to put a clone() method in every single class until I discovered Cloner, and I had to put XML handling code until I discovered XStream.

Are there any more similar helper libraries like these?


You might like reflections

Reflections scans your classpath, indexes the metadata, allows you to query it on runtime and may save and collect that information for many modules within your project.


Apache Commons BeanUtils provides a number of reflection based operations such as the BeanComparator

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号