You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/10/06 09:39:24 UTC

[tomcat] 03/04: Add remaining Javadoc for the Annotations API

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 2c911243399635e872aeae59c2674e1e75241d8f
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org