diff options
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java index 5192d27352e..c5bc91d5815 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java @@ -22,6 +22,7 @@ package org.sonar.api.scan.issue.filter; import java.util.Date; import javax.annotation.CheckForNull; import javax.annotation.concurrent.ThreadSafe; +import org.sonar.api.batch.fs.TextRange; import org.sonar.api.rule.RuleKey; /** @@ -38,10 +39,21 @@ public interface FilterableIssue { String message(); + /** + * @deprecated since 7.2. Use {@link #textRange() instead}. + */ + + @Deprecated @CheckForNull Integer line(); /** + * @since 7.2 + */ + @CheckForNull + TextRange textRange(); + + /** * @deprecated since 5.5 use {@link #gap()} */ @Deprecated |