protected static class AbstractForLoopRule.ForLoopIncrement extends AbstractForLoopRule.IntVariable
| Constructor | Description |
|---|---|
ForLoopIncrement(org.sonar.plugins.java.api.tree.IdentifierTree identifier,
Integer value) |
| Modifier and Type | Method | Description |
|---|---|---|
static AbstractForLoopRule.ForLoopIncrement |
findInUpdates(org.sonar.plugins.java.api.tree.ForStatementTree forStatement) |
|
boolean |
hasValue() |
|
int |
value() |
hasSameIdentifier, identifierpublic boolean hasValue()
public int value()
@CheckForNull public static AbstractForLoopRule.ForLoopIncrement findInUpdates(org.sonar.plugins.java.api.tree.ForStatementTree forStatement)
Copyright © 2012–2018 SonarSource. All rights reserved.