diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-04-11 11:00:05 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-04-11 11:00:52 +0200 |
commit | d6da1afc041aba3afe0058583b2f99768c5ab8c8 (patch) | |
tree | 78a3f2c6c8837b82fccccd66fc3407786c564a16 /sonar-plugin-api | |
parent | 50e2bb1db1b097cac4fb73b4aa211a37ba2184b5 (diff) | |
download | sonarqube-d6da1afc041aba3afe0058583b2f99768c5ab8c8.tar.gz sonarqube-d6da1afc041aba3afe0058583b2f99768c5ab8c8.zip |
Improve javadoc
Make some annotations visible on annotated type in Javadoc
Diffstat (limited to 'sonar-plugin-api')
4 files changed, 8 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ExtensionPoint.java b/sonar-plugin-api/src/main/java/org/sonar/api/ExtensionPoint.java index e7a9cf048c5..943a06f0769 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ExtensionPoint.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ExtensionPoint.java @@ -19,6 +19,7 @@ */ package org.sonar.api; +import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -30,6 +31,7 @@ import java.lang.annotation.Target; * * @since 5.2 */ +@Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ExtensionPoint { diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/BatchSide.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/BatchSide.java index f829ea425f6..cb5f1070bd5 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/BatchSide.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/BatchSide.java @@ -19,6 +19,7 @@ */ package org.sonar.api.batch; +import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -44,6 +45,7 @@ import java.lang.annotation.Target; * * @since 5.2 */ +@Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface BatchSide { diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java index 9db92b2d0d1..bf52b77f37c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java @@ -20,6 +20,7 @@ package org.sonar.api.ce; import com.google.common.annotations.Beta; +import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -31,6 +32,7 @@ import org.sonar.api.batch.BatchSide; * * @since 5.5 */ +@Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Beta diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/ServerSide.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/ServerSide.java index d51b211d920..3ff2a0e4610 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/ServerSide.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/ServerSide.java @@ -19,6 +19,7 @@ */ package org.sonar.api.server; +import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -30,6 +31,7 @@ import org.sonar.api.batch.BatchSide; * * @since 5.2 */ +@Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ServerSide { |