zkmn73 / annokit

Java annotion in action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

annokit

Java annotion in action.

Everyone can wirte an annotation step by step.

annokit has completed three annotations now:
@Factory: Factory design model
@Setter: generate set method automaticly
@Getter: generate get method automaticly
but,Setter and Getter annotation have a barrier to remoce, thus, generating method during compile stage, and cannot write the generated method to file, otherwise, this will got a confilct with .class by javac. so, I must to modify the AST in annotation resolving stage. I have not so much time, this have not finished. and I have read the source code of lombok, which has realized that.


2015.12.20

About

Java annotion in action


Languages

Language:Java 100.0%