public abstract class AbstractForLoopRule extends SubscriptionBaseVisitor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractForLoopRule.ForLoopIncrement |
protected static class |
AbstractForLoopRule.ForLoopInitializer |
protected static class |
AbstractForLoopRule.IntVariable |
context| Constructor and Description |
|---|
AbstractForLoopRule() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isSameIdentifier(IdentifierTree identifier,
ExpressionTree expression) |
List<Tree.Kind> |
nodesToVisit() |
abstract void |
visitForStatement(ForStatementTree forStatement) |
void |
visitNode(Tree tree) |
getSemanticModel, scanFileaddIssue, addIssue, addIssue, addIssueOnFile, reportIssue, reportIssuehasSemantic, leaveNode, scanTree, visitToken, visitTriviapublic List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionVisitorpublic abstract void visitForStatement(ForStatementTree forStatement)
protected static boolean isSameIdentifier(IdentifierTree identifier, ExpressionTree expression)
Copyright © 2012–2015 SonarSource. All rights reserved.