From 85c6bf012c8eb7ab7d2cc52ac8283c73dc5a4664 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sat, 9 Sep 2023 11:08:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20ReaderMethod=20=E5=92=8C?= =?UTF-8?q?=20WriterMethod=20=E6=B3=A8=E8=A7=A3=EF=BC=8C=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E6=96=B9=E6=B3=95=E6=98=AF=E8=AF=BB=E6=98=AF?= =?UTF-8?q?=E5=86=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plusone/commons/annotation/ReaderMethod.java | 12 ++++++++++++ .../plusone/commons/annotation/WriterMethod.java | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java create mode 100644 src/main/java/xyz/zhouxy/plusone/commons/annotation/WriterMethod.java diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java new file mode 100644 index 0000000..7eeac6b --- /dev/null +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java @@ -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 { +} diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/WriterMethod.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/WriterMethod.java new file mode 100644 index 0000000..2577bfd --- /dev/null +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/WriterMethod.java @@ -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 { +}