aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-09-19 10:50:08 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-09-19 10:50:08 +0200
commita106bc784bf4df6aee6c3e2e50016d04343131ed (patch)
tree8b23a6acf78b3a11893428883f6810a5f56af935 /sonar-plugin-api/src
parent95e0ff10458861c87058d9bcb2e5b77a20c9566a (diff)
downloadsonarqube-a106bc784bf4df6aee6c3e2e50016d04343131ed.tar.gz
sonarqube-a106bc784bf4df6aee6c3e2e50016d04343131ed.zip
Deprecate newReference() method accepting global offsets as parameter.
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/symbol/NewSymbol.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/symbol/NewSymbol.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/symbol/NewSymbol.java
index 06c2ba8529d..6714c527d02 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/symbol/NewSymbol.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/symbol/NewSymbol.java
@@ -32,7 +32,9 @@ public interface NewSymbol {
* Register a new symbol reference.
* @param startOffset Starting position in file for the declaration of this symbol. Beginning of a file starts with offset '0'.
* @param endOffset End position in file for this symbol declaration.
+ * @deprecated since 6.1 Only supported to ease migration from old API. Please prefer other {@code newReference()} methods.
*/
+ @Deprecated
NewSymbol newReference(int startOffset, int endOffset);
/**