public class SonarSymbolTableVisitor extends BaseTreeVisitor
Constructor and Description |
---|
SonarSymbolTableVisitor(org.sonar.api.batch.sensor.symbol.NewSymbolTable newSymbolTable,
SemanticModel semanticModel) |
Modifier and Type | Method and Description |
---|---|
void |
visitClass(ClassTree tree) |
void |
visitCompilationUnit(CompilationUnitTree tree) |
void |
visitEnumConstant(EnumConstantTree tree) |
void |
visitImport(ImportTree tree) |
void |
visitLabeledStatement(LabeledStatementTree tree) |
void |
visitMethod(MethodTree tree) |
void |
visitVariable(VariableTree tree) |
scan, scan, scan, visitAnnotation, visitArrayAccessExpression, visitArrayDimension, visitArrayType, visitAssertStatement, visitAssignmentExpression, visitBinaryExpression, visitBlock, visitBreakStatement, visitCaseGroup, visitCaseLabel, visitCatch, visitConditionalExpression, visitContinueStatement, visitDoWhileStatement, visitEmptyStatement, visitExpressionStatement, visitForEachStatement, visitForStatement, visitIdentifier, visitIfStatement, visitInstanceOf, visitLambdaExpression, visitLiteral, visitMemberSelectExpression, visitMethodInvocation, visitMethodReference, visitModifier, visitNewArray, visitNewClass, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitReturnStatement, visitSwitchStatement, visitSynchronizedStatement, visitThrowStatement, visitTryStatement, visitTypeArguments, visitTypeCast, visitTypeParameter, visitTypeParameters, visitUnaryExpression, visitUnionType, visitWhileStatement, visitWildcard
public SonarSymbolTableVisitor(org.sonar.api.batch.sensor.symbol.NewSymbolTable newSymbolTable, SemanticModel semanticModel)
public void visitCompilationUnit(CompilationUnitTree tree)
visitCompilationUnit
in interface TreeVisitor
visitCompilationUnit
in class BaseTreeVisitor
public void visitClass(ClassTree tree)
visitClass
in interface TreeVisitor
visitClass
in class BaseTreeVisitor
public void visitVariable(VariableTree tree)
visitVariable
in interface TreeVisitor
visitVariable
in class BaseTreeVisitor
public void visitEnumConstant(EnumConstantTree tree)
visitEnumConstant
in interface TreeVisitor
visitEnumConstant
in class BaseTreeVisitor
public void visitMethod(MethodTree tree)
visitMethod
in interface TreeVisitor
visitMethod
in class BaseTreeVisitor
public void visitLabeledStatement(LabeledStatementTree tree)
visitLabeledStatement
in interface TreeVisitor
visitLabeledStatement
in class BaseTreeVisitor
public void visitImport(ImportTree tree)
visitImport
in interface TreeVisitor
visitImport
in class BaseTreeVisitor
Copyright © 2012–2016 SonarSource. All rights reserved.