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 {