diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-09-19 10:50:08 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-09-19 10:50:08 +0200 |
commit | a106bc784bf4df6aee6c3e2e50016d04343131ed (patch) | |
tree | 8b23a6acf78b3a11893428883f6810a5f56af935 /sonar-plugin-api/src | |
parent | 95e0ff10458861c87058d9bcb2e5b77a20c9566a (diff) | |
download | sonarqube-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.java | 2 |
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); /** |