public class NullPointerCheck extends BaseTreeVisitor implements JavaFileScanner
| Modifier and Type | Class and Description |
|---|---|
static class |
NullPointerCheck.AbstractValue |
| Constructor and Description |
|---|
NullPointerCheck() |
scan, scan, scan, visitAnnotation, visitArrayDimension, visitArrayType, visitAssertStatement, visitBlock, visitBreakStatement, visitCaseGroup, visitCaseLabel, visitCatch, visitContinueStatement, visitEmptyStatement, visitEnumConstant, visitExpressionStatement, visitIdentifier, visitImport, visitInstanceOf, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMethodReference, visitModifier, visitNewArray, visitNewClass, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitReturnStatement, visitSynchronizedStatement, visitThrowStatement, visitTypeArguments, visitTypeCast, visitTypeParameter, visitTypeParameters, visitUnaryExpression, visitUnionType, visitWildcardpublic void scanFile(JavaFileScannerContext context)
scanFile in interface JavaFileScannerpublic void visitArrayAccessExpression(ArrayAccessExpressionTree tree)
visitArrayAccessExpression in interface TreeVisitorvisitArrayAccessExpression in class BaseTreeVisitorpublic void visitAssignmentExpression(AssignmentExpressionTree tree)
visitAssignmentExpression in interface TreeVisitorvisitAssignmentExpression in class BaseTreeVisitorpublic void visitBinaryExpression(BinaryExpressionTree tree)
visitBinaryExpression in interface TreeVisitorvisitBinaryExpression in class BaseTreeVisitorpublic void visitClass(ClassTree tree)
visitClass in interface TreeVisitorvisitClass in class BaseTreeVisitorpublic void visitCompilationUnit(CompilationUnitTree tree)
visitCompilationUnit in interface TreeVisitorvisitCompilationUnit in class BaseTreeVisitorpublic void visitConditionalExpression(ConditionalExpressionTree tree)
visitConditionalExpression in interface TreeVisitorvisitConditionalExpression 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 visitIfStatement(IfStatementTree tree)
visitIfStatement in interface TreeVisitorvisitIfStatement in class BaseTreeVisitorpublic void visitMemberSelectExpression(MemberSelectExpressionTree tree)
visitMemberSelectExpression in interface TreeVisitorvisitMemberSelectExpression in class BaseTreeVisitorpublic void visitMethod(MethodTree tree)
visitMethod in interface TreeVisitorvisitMethod in class BaseTreeVisitorpublic void visitMethodInvocation(MethodInvocationTree tree)
visitMethodInvocation in interface TreeVisitorvisitMethodInvocation in class BaseTreeVisitorpublic void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement in interface TreeVisitorvisitSwitchStatement in class BaseTreeVisitorpublic void visitTryStatement(TryStatementTree tree)
visitTryStatement in interface TreeVisitorvisitTryStatement in class BaseTreeVisitorpublic void visitVariable(VariableTree tree)
visitVariable in interface TreeVisitorvisitVariable in class BaseTreeVisitorpublic void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement in interface TreeVisitorvisitWhileStatement in class BaseTreeVisitorpublic NullPointerCheck.AbstractValue checkNullity(Tree tree)
public NullPointerCheck.AbstractValue checkNullity(IdentifierTree tree)
Copyright © 2012–2015 SonarSource. All rights reserved.