自定义annotationProcessor
使用annotationProcessor插件在编译期创建Java文件 使用在idea中 可以尝试下
下载地址
用户评论