From cc10f11b37a02b4f27701d3702e0d64afcf083c1 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Mon, 30 Oct 2023 09:18:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=20Javadoc=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plusone/commons/annotation/ReaderMethod.java | 10 +++++++++- .../plusone/commons/annotation/WriterMethod.java | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java index 7eeac6b..9df10ef 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ReaderMethod.java @@ -5,7 +5,15 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -// TODO 添加 Javadoc +/** + * ReaderMethod + * + *

+ * 标识方法是读方法,如 getter。 + * + * @author ZhouXY + * @since 1.0 + */ @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 index 2577bfd..be71261 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/WriterMethod.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/WriterMethod.java @@ -5,7 +5,15 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -// TODO 添加 Javadoc +/** + * WriterMethod + * + *

+ * 标识方法是写方法,如 setter。 + * + * @author ZhouXY + * @since 1.0 + */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface WriterMethod {