From: Julien HENRY Date: Mon, 19 Sep 2016 08:50:08 +0000 (+0200) Subject: Deprecate newReference() method accepting global offsets as parameter. X-Git-Tag: 6.1-RC1~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a106bc784bf4df6aee6c3e2e50016d04343131ed;p=sonarqube.git Deprecate newReference() method accepting global offsets as parameter. --- 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); /**