aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java
index a5665394c43..2634e3564a2 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java
@@ -19,8 +19,9 @@
*/
package org.sonar.api.resources;
-import org.sonar.api.BatchExtension;
-import org.sonar.api.ServerExtension;
+import org.sonar.api.BatchSide;
+import org.sonar.api.ExtensionPoint;
+import org.sonar.api.ServerSide;
import org.sonar.api.batch.InstantiationStrategy;
/**
@@ -30,8 +31,11 @@ import org.sonar.api.batch.InstantiationStrategy;
*
* @since 1.10
*/
+@BatchSide
@InstantiationStrategy(InstantiationStrategy.PER_BATCH)
-public interface Language extends BatchExtension, ServerExtension {
+@ServerSide
+@ExtensionPoint
+public interface Language {
/**
* For example "java". Should not be more than 20 chars.