This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 3d7c17fde1abc3171e2a4d744bc96f2f4557db91 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Oct 6 10:25:51 2020 +0100 Add remaining Javadoc for the Annotations API --- java/javax/annotation/Generated.java | 10 ++++++++++ java/javax/annotation/ManagedBean.java | 3 +++ 2 files changed, 13 insertions(+) diff --git a/java/javax/annotation/Generated.java b/java/javax/annotation/Generated.java index 06d99bd..9ba2942 100644 --- a/java/javax/annotation/Generated.java +++ b/java/javax/annotation/Generated.java @@ -31,7 +31,17 @@ import java.lang.annotation.Target; ElementType.PACKAGE, ElementType.PARAMETER, ElementType.TYPE}) @Retention(RetentionPolicy.SOURCE) public @interface Generated { + /** + * @return The name of the code generator. It is recommended that the fully + * qualified name of the code generator is used. + */ public String[] value(); + /** + * @return The date the code was generated + */ public String date() default ""; + /** + * @return Additional comments (if any) related to the code generation + */ public String comments() default ""; } diff --git a/java/javax/annotation/ManagedBean.java b/java/javax/annotation/ManagedBean.java index f2739a4..c0189a0 100644 --- a/java/javax/annotation/ManagedBean.java +++ b/java/javax/annotation/ManagedBean.java @@ -27,5 +27,8 @@ import java.lang.annotation.Target; @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ManagedBean { + /** + * @return Name of the managed bean + */ String value() default ""; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org