@Inherited @Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface Name
用于标注一个实现,相当于给这个实现起了一个别名
String
value
public abstract String value
扩展实现对应的名称
Copyright © 2018. All rights reserved.