Java annotation processor demo.
- 方法一
执行mvn clean compile
命令编译项目,可在Client子模块下可查看编译日志compile.log - 方法二
执行mvn package
打包项目后,终端运行Client子模块下compile.bat或compile.sh脚本。
项目详情请查看译文:
Java语言使用注解处理器生成代码——第一部分:注解类型
Java语言使用注解处理器生成代码——第二部分:注解处理器
Java语言使用注解处理器生成代码——第三部分:生成源代码
Copyright 2015 Jianan - qinxiandiqi@foxmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.