添加 ReaderMethod 和 WriterMethod 注解,用于标识方法是读是写。

feature/net-util
ZhouXY108 2023-09-09 11:08:25 +08:00
parent fd2190e4f6
commit 85c6bf012c
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
package xyz.zhouxy.plusone.commons.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
// TODO 添加 Javadoc
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ReaderMethod {
}

View File

@ -0,0 +1,12 @@
package xyz.zhouxy.plusone.commons.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
// TODO 添加 Javadoc
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface WriterMethod {
}