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.
By hackersun
2015.12.20