| Package | Description |
|---|---|
| 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 |
|---|---|
static TypeOfText |
TypeOfText.forCssClass(String cssClass) |
static TypeOfText |
TypeOfText.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOfText[] |
TypeOfText.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
NewHighlighting |
NewHighlighting.highlight(int startOffset,
int endOffset,
TypeOfText typeOfText)
Call this method to indicate the type of text in a range.
|
| Modifier and Type | Method and Description |
|---|---|
TypeOfText |
SyntaxHighlightingRule.getTextType() |
| Modifier and Type | Method and Description |
|---|---|
static SyntaxHighlightingRule |
SyntaxHighlightingRule.create(int startPosition,
int endPosition,
TypeOfText textType) |
DefaultHighlighting |
DefaultHighlighting.highlight(int startOffset,
int endOffset,
TypeOfText typeOfText) |
| Modifier and Type | Method and Description |
|---|---|
List<TypeOfText> |
SensorContextTester.highlightingTypeFor(String componentKey,
int charIndex) |
Copyright © 2009–2015 SonarSource. All rights reserved.