#documented

Java注解之Retention、Documented、Target、Inherited介绍

先看代码,后面一个个来解析:@Retention(RetentionPolicy.RUNTIME)@Target(value={ElementType.METHOD,ElementType.TYPE})@Documentedpublic@interfaceAuthority{}  Retention...