您的位置:首页 > 编程语言 > Java开发

发现一个用 java 代码生成 java 代码的开源工具包

2017-03-29 14:58 260 查看
javapoet JavaPoet is a Java API for generating .java source files. Source file generation can be useful when doing things such as annotation processing or interacting with metadata files (e.g., database schemas, protocol formats). By generating code, you eliminate the need to write boilerplate while also keeping a single source of truth for the metadata. 可想而知,以后的 java 代码将会越来越高效率和动态拼装生成,似乎有点自掘坟墓的感觉。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐