aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-07-21 11:55:15 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-07-21 11:55:15 +0200
commit4598acad6328b240831f3ad1f00c7c07d124c07b (patch)
treeabe96715c15e9b4fcab1f85f0990513fcadbbf3b /sonar-plugin-api/src
parentf17516585b4a09b68e8165f3a186d9550c945259 (diff)
downloadsonarqube-4598acad6328b240831f3ad1f00c7c07d124c07b.tar.gz
sonarqube-4598acad6328b240831f3ad1f00c7c07d124c07b.zip
SONAR-7751 Missing @SonarLintSide on some extensions
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/batch/IssueFilter.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java2
4 files changed, 7 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java
index 2c489628b40..740e8dd68cc 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFileFilter.java
@@ -19,8 +19,8 @@
*/
package org.sonar.api.batch.fs;
-import org.sonar.api.batch.ScannerSide;
import org.sonar.api.ExtensionPoint;
+import org.sonar.api.batch.ScannerSide;
/**
* Extension point to exclude some files from inspection
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java
index eb73a5590ce..4c61be59fa0 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java
@@ -36,6 +36,7 @@ import org.sonar.api.batch.ScannerSide;
import org.sonar.api.ce.ComputeEngineSide;
import org.sonar.api.resources.Qualifiers;
import org.sonar.api.server.ServerSide;
+import org.sonarsource.api.sonarlint.SonarLintSide;
/**
* Declare a plugin property. Values are available at runtime through the component {@link Settings}.
@@ -70,6 +71,7 @@ import org.sonar.api.server.ServerSide;
@ScannerSide
@ServerSide
@ComputeEngineSide
+@SonarLintSide
@ExtensionPoint
public final class PropertyDefinition {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/batch/IssueFilter.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/batch/IssueFilter.java
index d1f025266a0..4b03e80b3da 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/batch/IssueFilter.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/batch/IssueFilter.java
@@ -22,6 +22,7 @@ package org.sonar.api.issue.batch;
import org.sonar.api.ExtensionPoint;
import org.sonar.api.batch.ScannerSide;
import org.sonar.api.issue.Issue;
+import org.sonarsource.api.sonarlint.SonarLintSide;
/**
* <p>An issue filter is an object that allows filtering of {@link Issue}s on batch side, preventing them from being persisted.
@@ -29,6 +30,7 @@ import org.sonar.api.issue.Issue;
* @deprecated since 5.3. Use {@link org.sonar.api.scan.issue.filter.IssueFilter} instead.
*/
@ScannerSide
+@SonarLintSide
@ExtensionPoint
@Deprecated
public interface IssueFilter {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java
index 3dc8e899ee7..fc50d3441b7 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java
@@ -21,8 +21,10 @@ package org.sonar.api.scan.issue.filter;
import org.sonar.api.ExtensionPoint;
import org.sonar.api.batch.ScannerSide;
+import org.sonarsource.api.sonarlint.SonarLintSide;
@ScannerSide
+@SonarLintSide
@ExtensionPoint
@FunctionalInterface
/**