原文地址:https://www.javacodegeeks.com/2015/04/spring-enable-annotation-writing-a-custom-enable-annotation.html Spring provides a range of annotations with names starting with Enable*, these annotations in essence enable certain Spring managed features t
原文地址:http://hannesdorfmann.com/annotation-processing/annotationprocessing101 In this blog entry I would like to explain how to write an annotation processor. So here is my tutorial. First, I am going to explain to you what annotation processing is, w
package com.example.ele_me.util; import java.lang.annotation.Retention; import java.lang.annotation.Target; import java.lang.annotation.ElementType; import java.lang.annotation.RetentionPolicy; /** * Use this annotation to mark the fields of your A