@@ -, +, @@ --- java/javax/annotation/Generated.java | 2 ++ java/javax/annotation/PostConstruct.java | 2 ++ java/javax/annotation/PreDestroy.java | 2 ++ java/javax/annotation/Priority.java | 2 ++ java/javax/annotation/Resources.java | 2 ++ java/javax/annotation/security/DeclareRoles.java | 2 ++ java/javax/annotation/security/DenyAll.java | 2 ++ java/javax/annotation/security/PermitAll.java | 2 ++ java/javax/annotation/security/RolesAllowed.java | 2 ++ java/javax/annotation/security/RunAs.java | 2 ++ 10 files changed, 20 insertions(+) --- a/java/javax/annotation/Generated.java +++ a/java/javax/annotation/Generated.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target({ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.METHOD, ElementType.PACKAGE, ElementType.PARAMETER, ElementType.TYPE}) --- a/java/javax/annotation/PostConstruct.java +++ a/java/javax/annotation/PostConstruct.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface PostConstruct { --- a/java/javax/annotation/PreDestroy.java +++ a/java/javax/annotation/PreDestroy.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface PreDestroy { --- a/java/javax/annotation/Priority.java +++ a/java/javax/annotation/Priority.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.2 */ +@Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface Priority { --- a/java/javax/annotation/Resources.java +++ a/java/javax/annotation/Resources.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface Resources { --- a/java/javax/annotation/security/DeclareRoles.java +++ a/java/javax/annotation/security/DeclareRoles.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface DeclareRoles { --- a/java/javax/annotation/security/DenyAll.java +++ a/java/javax/annotation/security/DenyAll.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface DenyAll { --- a/java/javax/annotation/security/PermitAll.java +++ a/java/javax/annotation/security/PermitAll.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface PermitAll { --- a/java/javax/annotation/security/RolesAllowed.java +++ a/java/javax/annotation/security/RolesAllowed.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface RolesAllowed { --- a/java/javax/annotation/security/RunAs.java +++ a/java/javax/annotation/security/RunAs.java @@ -20,10 +20,12 @@ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import java.lang.annotation.Documented; /** * @since Common Annotations 1.0 */ +@Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface RunAs { --