public class DataFlowVisitor extends BaseTreeVisitor
| Modifier and Type | Method and Description |
|---|---|
static void |
analyze(MethodTree method,
SymbolicExecutionCheck check) |
protected Symbol |
getSymbol(ExpressionTree variable) |
void |
visitAssignmentExpression(AssignmentExpressionTree tree) |
void |
visitClass(ClassTree tree) |
void |
visitDoWhileStatement(DoWhileStatementTree tree) |
void |
visitForEachStatement(ForEachStatement tree) |
void |
visitForStatement(ForStatementTree tree) |
void |
visitIfStatement(IfStatementTree tree) |
void |
visitMethodInvocation(MethodInvocationTree tree) |
void |
visitNewClass(NewClassTree tree) |
void |
visitReturnStatement(ReturnStatementTree tree) |
void |
visitSwitchStatement(SwitchStatementTree tree) |
void |
visitTryStatement(TryStatementTree tree) |
void |
visitVariable(VariableTree tree) |
void |
visitWhileStatement(WhileStatementTree tree) |
scan, scan, scan, visitAnnotation, visitArrayAccessExpression, visitArrayDimension, visitArrayType, visitAssertStatement, visitBinaryExpression, visitBlock, visitBreakStatement, visitCaseGroup, visitCaseLabel, visitCatch, visitCompilationUnit, visitConditionalExpression, visitContinueStatement, visitEmptyStatement, visitEnumConstant, visitExpressionStatement, visitIdentifier, visitImport, visitInstanceOf, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberSelectExpression, visitMethod, visitMethodReference, visitModifier, visitNewArray, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitSynchronizedStatement, visitThrowStatement, visitTypeArguments, visitTypeCast, visitTypeParameter, visitTypeParameters, visitUnaryExpression, visitUnionType, visitWildcardpublic static void analyze(MethodTree method, SymbolicExecutionCheck check)
public void visitVariable(VariableTree tree)
visitVariable in interface TreeVisitorvisitVariable in class BaseTreeVisitorpublic void visitAssignmentExpression(AssignmentExpressionTree tree)
visitAssignmentExpression in interface TreeVisitorvisitAssignmentExpression in class BaseTreeVisitor@CheckForNull protected Symbol getSymbol(ExpressionTree variable)
public void visitNewClass(NewClassTree tree)
visitNewClass in interface TreeVisitorvisitNewClass in class BaseTreeVisitorpublic void visitClass(ClassTree tree)
visitClass in interface TreeVisitorvisitClass in class BaseTreeVisitorpublic void visitTryStatement(TryStatementTree tree)
visitTryStatement in interface TreeVisitorvisitTryStatement in class BaseTreeVisitorpublic void visitIfStatement(IfStatementTree tree)
visitIfStatement in interface TreeVisitorvisitIfStatement in class BaseTreeVisitorpublic void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement in interface TreeVisitorvisitSwitchStatement in class BaseTreeVisitorpublic void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement in interface TreeVisitorvisitWhileStatement in class BaseTreeVisitorpublic void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement in interface TreeVisitorvisitDoWhileStatement in class BaseTreeVisitorpublic void visitForStatement(ForStatementTree tree)
visitForStatement in interface TreeVisitorvisitForStatement in class BaseTreeVisitorpublic void visitForEachStatement(ForEachStatement tree)
visitForEachStatement in interface TreeVisitorvisitForEachStatement in class BaseTreeVisitorpublic void visitMethodInvocation(MethodInvocationTree tree)
visitMethodInvocation in interface TreeVisitorvisitMethodInvocation in class BaseTreeVisitorpublic void visitReturnStatement(ReturnStatementTree tree)
visitReturnStatement in interface TreeVisitorvisitReturnStatement in class BaseTreeVisitorCopyright © 2012–2015 SonarSource. All rights reserved.