You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
daniel 69cf8d4985 换行 3 years ago
annotation-processor first commit 3 years ago
annotation-user first commit 3 years ago
.gitignore first commit 3 years ago
README.md 换行 3 years ago
pom.xml first commit 3 years ago

README.md

refer to: https://www.baeldung.com/java-annotation-processing-builder

1 主要演示效果

在编译期,将

annotation-user/target/classes/com/roadl/annouser/Person.class

setter上的注解生成辅助类

annotation-user/target/classes/com/roadl/annouser/PersonBuilder.class

2 module化

annotation_processing 父project

annotation_processing/annotation-user 子module A依赖module B

annotation_processing/annotation-processor 子module B