???????????????????????@Target??@Retention??@Documented??@Inherited????????????????£?

????1??@Target

???????????????????????????? ElemenetType ??????????

?????? ElemenetType.CONSTRUCTOR ????????????

?????? ElemenetType.FIELD ???????????? enum ???????

?????? ElemenetType.LOCAL_VARIABLE ?????????????

?????? ElemenetType.METHOD ??????????

?????? ElemenetType.PACKAGE ????????

?????? ElemenetType.PARAMETER ??????????

?????? ElemenetType.TYPE ????????????????????enum??????

????2??@Retention

??????????????????????????????? RetentionPolicy ??????????

?????? RetentionPolicy.SOURCE ?????????????????

?????? RetentionPolicy.CLASS ?????class????п????????VM??????

?????? RetentionPolicy.RUNTIME VM??????????????????????????????????????????????

????????????????@Override?????Retention???SOURCE???????????????Щ?????????????@Deprecated?????Retention???RUNTIME?????????????????????????????????Deprecated???????????е????????????÷??????Deprecated??

????3??@Documented

???????????????? javadoc ??

????4??@Inherited

?????????????и????е????

????3????????

????????????????????????????

@Description(value="??????????")
public class TestAnnotation {

}

???????????????@<?????>(<?????1>=<????1>??<?????1>=<????1>??...)

????????????????????????????{}???и??????boolean????????????????{true??false??true}???????????????????????

????1???????????

@AnnoExample(id= 2868724?? synopsis = "Enable time-travel"?? engineer = "Mr. Peabody")