| Package | Description | 
|---|---|
| org.sonar.api.batch.sensor | |
| org.sonar.api.batch.sensor.highlighting | |
| org.sonar.api.batch.sensor.highlighting.internal | |
| org.sonar.api.batch.sensor.internal | 
| Modifier and Type | Method and Description | 
|---|---|
| NewHighlighting | SensorContext. newHighlighting()Builder to define highlighting of a file. | 
| Modifier and Type | Method and Description | 
|---|---|
| NewHighlighting | NewHighlighting. highlight(int startLine,
         int startLineOffset,
         int endLine,
         int endLineOffset,
         TypeOfText typeOfText)Shortcut to avoid calling  InputFile.newRange(int, int, int, int) | 
| NewHighlighting | NewHighlighting. highlight(int startOffset,
         int endOffset,
         TypeOfText typeOfText)Deprecated. 
 since 5.6 Only supported to ease migration from old API. Please prefer other  highlight()methods. | 
| NewHighlighting | NewHighlighting. highlight(TextRange range,
         TypeOfText typeOfText)Call this method to indicate the type of text in a range. | 
| NewHighlighting | NewHighlighting. onFile(InputFile inputFile)The file the highlighting belongs to. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultHighlighting | 
| Modifier and Type | Method and Description | 
|---|---|
| NewHighlighting | SensorContextTester. newHighlighting() | 
Copyright © 2009–2016 SonarSource. All rights reserved.