添加 ReaderMethod 和 WriterMethod 注解,用于标识方法是读是写。
parent
fd2190e4f6
commit
85c6bf012c
|
@ -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 {
|
||||
}
|
|
@ -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 {
|
||||
}
|
Loading…
Reference in New Issue