Package | Description |
---|---|
org.sonar.api.batch.sensor | |
org.sonar.api.batch.sensor.cpd | |
org.sonar.api.batch.sensor.cpd.internal | |
org.sonar.api.batch.sensor.internal |
Modifier and Type | Method and Description |
---|---|
NewCpdTokens |
SensorContext.newCpdTokens()
Builder to define CPD tokens in a file.
|
Modifier and Type | Method and Description |
---|---|
NewCpdTokens |
NewCpdTokens.addToken(int startLine,
int startLineOffset,
int endLine,
int endLineOffset,
String image)
Shortcut to avoid calling
InputFile.newRange(int, int, int, int) |
NewCpdTokens |
NewCpdTokens.addToken(TextRange range,
String image)
Call this method to register a token in a range.
|
NewCpdTokens |
NewCpdTokens.onFile(InputFile inputFile)
The tokenized file.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCpdTokens |
Modifier and Type | Method and Description |
---|---|
NewCpdTokens |
DefaultCpdTokens.addToken(int startLine,
int startLineOffset,
int endLine,
int endLineOffset,
String image) |
Modifier and Type | Method and Description |
---|---|
NewCpdTokens |
SensorContextTester.newCpdTokens() |
Copyright © 2009–2017 SonarSource. All rights reserved.