Package | Description |
---|---|
org.sonar.duplications.statement |
Provides a basic framework to create list of statements from list of tokens.
|
Modifier and Type | Method and Description |
---|---|
static StatementChunker.Builder |
StatementChunker.builder() |
StatementChunker.Builder |
StatementChunker.Builder.ignore(TokenMatcher... matchers)
Defines that sequence of tokens must be ignored, if it matches specified list of matchers.
|
StatementChunker.Builder |
StatementChunker.Builder.statement(TokenMatcher... matchers)
Defines that sequence of tokens, which is matched specified list of matchers, is a statement.
|
Copyright © 2009-2012 SonarSource. All Rights Reserved.