@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Delete {
String[] value();
}
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DeleteProvider {
Class type();
String method();
}
这两个类没有什么可说的。要注意Provider这个单词,以后写开源或者自己写程序可以用上。
关注微信公众号获取更多VSCode编程信息,定时发布干货文章
全部评论