Class AbstractNodeVisitor<R,P> 
java.lang.Object
org.checkerframework.dataflow.cfg.node.AbstractNodeVisitor<R,P> 
- Type Parameters:
- R- return type of the visitor
- P- parameter type of the visitor
- All Implemented Interfaces:
- NodeVisitor<R,- P> 
- Direct Known Subclasses:
- BusyExprTransfer,- CFAbstractTransfer,- ConstantPropagationTransfer,- LiveVarTransfer,- ReachingDefinitionTransfer
A default implementation of the node visitor interface. The class introduces several 'summary'
 methods, that can be overridden to change the behavior of several related visit methods at once.
 An example is the 
visitValueLiteral(org.checkerframework.dataflow.cfg.node.ValueLiteralNode, P) method, which is called for every ValueLiteralNode.
 This is useful to implement a visitor that performs the same operation (e.g., nothing) for
 most Nodes and only has special behavior for a few.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvisitArrayAccess(ArrayAccessNode n, P p) visitArrayType(ArrayTypeNode n, P p) visitAssignment(AssignmentNode n, P p) visitBitwiseAnd(BitwiseAndNode n, P p) visitBitwiseOr(BitwiseOrNode n, P p) visitBitwiseXor(BitwiseXorNode n, P p) Visits an anonymous/inner/nested class declaration within a method.visitClassName(ClassNameNode n, P p) Visits a deconstructor pattern node.visitEqualTo(EqualToNode n, P p) Visits an expression that is used as a statement.visitFieldAccess(FieldAccessNode n, P p) visitGreaterThan(GreaterThanNode n, P p) visitInstanceOf(InstanceOfNode n, P p) visitLeftShift(LeftShiftNode n, P p) visitLessThan(LessThanNode n, P p) visitLongLiteral(LongLiteralNode n, P p) visitMarker(MarkerNode n, P p) abstract RvisitNotEqual(NotEqualNode n, P p) visitNullChk(NullChkNode n, P p) visitNullLiteral(NullLiteralNode n, P p) visitPackageName(PackageNameNode n, P p) visitReturn(ReturnNode n, P p) visitSuper(SuperNode n, P p) visitThrow(ThrowNode n, P p) visitTypeCast(TypeCastNode n, P p) 
- 
Constructor Details- 
AbstractNodeVisitorpublic AbstractNodeVisitor()
 
- 
- 
Method Details- 
visitNode
- 
visitValueLiteral
- 
visitShortLiteral- Specified by:
- visitShortLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitIntegerLiteral- Specified by:
- visitIntegerLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitLongLiteral- Specified by:
- visitLongLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitFloatLiteral- Specified by:
- visitFloatLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitDoubleLiteral- Specified by:
- visitDoubleLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitBooleanLiteral- Specified by:
- visitBooleanLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitCharacterLiteral- Specified by:
- visitCharacterLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitStringLiteral- Specified by:
- visitStringLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitNullLiteral- Specified by:
- visitNullLiteralin interface- NodeVisitor<R,- P> 
 
- 
visitNumericalMinus- Specified by:
- visitNumericalMinusin interface- NodeVisitor<R,- P> 
 
- 
visitNumericalPlus- Specified by:
- visitNumericalPlusin interface- NodeVisitor<R,- P> 
 
- 
visitBitwiseComplement- Specified by:
- visitBitwiseComplementin interface- NodeVisitor<R,- P> 
 
- 
visitNullChk- Specified by:
- visitNullChkin interface- NodeVisitor<R,- P> 
 
- 
visitStringConcatenate- Specified by:
- visitStringConcatenatein interface- NodeVisitor<R,- P> 
 
- 
visitNumericalAddition- Specified by:
- visitNumericalAdditionin interface- NodeVisitor<R,- P> 
 
- 
visitNumericalSubtraction- Specified by:
- visitNumericalSubtractionin interface- NodeVisitor<R,- P> 
 
- 
visitNumericalMultiplication- Specified by:
- visitNumericalMultiplicationin interface- NodeVisitor<R,- P> 
 
- 
visitIntegerDivision- Specified by:
- visitIntegerDivisionin interface- NodeVisitor<R,- P> 
 
- 
visitFloatingDivision- Specified by:
- visitFloatingDivisionin interface- NodeVisitor<R,- P> 
 
- 
visitIntegerRemainder- Specified by:
- visitIntegerRemainderin interface- NodeVisitor<R,- P> 
 
- 
visitFloatingRemainder- Specified by:
- visitFloatingRemainderin interface- NodeVisitor<R,- P> 
 
- 
visitLeftShift- Specified by:
- visitLeftShiftin interface- NodeVisitor<R,- P> 
 
- 
visitSignedRightShift- Specified by:
- visitSignedRightShiftin interface- NodeVisitor<R,- P> 
 
- 
visitUnsignedRightShift- Specified by:
- visitUnsignedRightShiftin interface- NodeVisitor<R,- P> 
 
- 
visitBitwiseAnd- Specified by:
- visitBitwiseAndin interface- NodeVisitor<R,- P> 
 
- 
visitBitwiseOr- Specified by:
- visitBitwiseOrin interface- NodeVisitor<R,- P> 
 
- 
visitBitwiseXor- Specified by:
- visitBitwiseXorin interface- NodeVisitor<R,- P> 
 
- 
visitLessThan- Specified by:
- visitLessThanin interface- NodeVisitor<R,- P> 
 
- 
visitLessThanOrEqual- Specified by:
- visitLessThanOrEqualin interface- NodeVisitor<R,- P> 
 
- 
visitGreaterThan- Specified by:
- visitGreaterThanin interface- NodeVisitor<R,- P> 
 
- 
visitGreaterThanOrEqual- Specified by:
- visitGreaterThanOrEqualin interface- NodeVisitor<R,- P> 
 
- 
visitEqualTo- Specified by:
- visitEqualToin interface- NodeVisitor<R,- P> 
 
- 
visitNotEqual- Specified by:
- visitNotEqualin interface- NodeVisitor<R,- P> 
 
- 
visitConditionalAnd- Specified by:
- visitConditionalAndin interface- NodeVisitor<R,- P> 
 
- 
visitConditionalOr- Specified by:
- visitConditionalOrin interface- NodeVisitor<R,- P> 
 
- 
visitConditionalNot- Specified by:
- visitConditionalNotin interface- NodeVisitor<R,- P> 
 
- 
visitTernaryExpression- Specified by:
- visitTernaryExpressionin interface- NodeVisitor<R,- P> 
 
- 
visitSwitchExpressionNode- Specified by:
- visitSwitchExpressionNodein interface- NodeVisitor<R,- P> 
 
- 
visitAssignment- Specified by:
- visitAssignmentin interface- NodeVisitor<R,- P> 
 
- 
visitLocalVariable- Specified by:
- visitLocalVariablein interface- NodeVisitor<R,- P> 
 
- 
visitVariableDeclaration- Specified by:
- visitVariableDeclarationin interface- NodeVisitor<R,- P> 
 
- 
visitFieldAccess- Specified by:
- visitFieldAccessin interface- NodeVisitor<R,- P> 
 
- 
visitMethodAccess- Specified by:
- visitMethodAccessin interface- NodeVisitor<R,- P> 
 
- 
visitArrayAccess- Specified by:
- visitArrayAccessin interface- NodeVisitor<R,- P> 
 
- 
visitThis
- 
visitImplicitThis- Specified by:
- visitImplicitThisin interface- NodeVisitor<R,- P> 
 
- 
visitExplicitThis- Specified by:
- visitExplicitThisin interface- NodeVisitor<R,- P> 
 
- 
visitSuper- Specified by:
- visitSuperin interface- NodeVisitor<R,- P> 
 
- 
visitReturn- Specified by:
- visitReturnin interface- NodeVisitor<R,- P> 
 
- 
visitLambdaResultExpression- Specified by:
- visitLambdaResultExpressionin interface- NodeVisitor<R,- P> 
 
- 
visitStringConversion- Specified by:
- visitStringConversionin interface- NodeVisitor<R,- P> 
 
- 
visitWideningConversion- Specified by:
- visitWideningConversionin interface- NodeVisitor<R,- P> 
 
- 
visitNarrowingConversion- Specified by:
- visitNarrowingConversionin interface- NodeVisitor<R,- P> 
 
- 
visitInstanceOf- Specified by:
- visitInstanceOfin interface- NodeVisitor<R,- P> 
 
- 
visitTypeCast- Specified by:
- visitTypeCastin interface- NodeVisitor<R,- P> 
 
- 
visitAssertionError- Specified by:
- visitAssertionErrorin interface- NodeVisitor<R,- P> 
 
- 
visitSynchronized- Specified by:
- visitSynchronizedin interface- NodeVisitor<R,- P> 
 
- 
visitThrow- Specified by:
- visitThrowin interface- NodeVisitor<R,- P> 
 
- 
visitCase- Specified by:
- visitCasein interface- NodeVisitor<R,- P> 
 
- 
visitMethodInvocation- Specified by:
- visitMethodInvocationin interface- NodeVisitor<R,- P> 
 
- 
visitObjectCreation- Specified by:
- visitObjectCreationin interface- NodeVisitor<R,- P> 
 
- 
visitClassDeclarationDescription copied from interface:NodeVisitorVisits an anonymous/inner/nested class declaration within a method.- Specified by:
- visitClassDeclarationin interface- NodeVisitor<R,- P> 
- Parameters:
- n- the- ClassDeclarationNodeto be visited
- p- the argument for the operation implemented by this visitor
- Returns:
- the return value of the operation implemented by this visitor
 
- 
visitMemberReference- Specified by:
- visitMemberReferencein interface- NodeVisitor<R,- P> 
 
- 
visitArrayCreation- Specified by:
- visitArrayCreationin interface- NodeVisitor<R,- P> 
 
- 
visitArrayType- Specified by:
- visitArrayTypein interface- NodeVisitor<R,- P> 
 
- 
visitPrimitiveType- Specified by:
- visitPrimitiveTypein interface- NodeVisitor<R,- P> 
 
- 
visitClassName- Specified by:
- visitClassNamein interface- NodeVisitor<R,- P> 
 
- 
visitPackageName- Specified by:
- visitPackageNamein interface- NodeVisitor<R,- P> 
 
- 
visitParameterizedType- Specified by:
- visitParameterizedTypein interface- NodeVisitor<R,- P> 
 
- 
visitMarker- Specified by:
- visitMarkerin interface- NodeVisitor<R,- P> 
 
- 
visitExpressionStatementDescription copied from interface:NodeVisitorVisits an expression that is used as a statement. This node is a marker after the expression node(s).- Specified by:
- visitExpressionStatementin interface- NodeVisitor<R,- P> 
- Parameters:
- n- the- ExpressionStatementNodeto be visited
- p- the argument for the operation implemented by this visitor
- Returns:
- the return value of the operation implemented by this visitor
 
- 
visitDeconstructorPatternDescription copied from interface:NodeVisitorVisits a deconstructor pattern node.- Specified by:
- visitDeconstructorPatternin interface- NodeVisitor<R,- P> 
- Parameters:
- n- the- DeconstructorPatternNodeto be visited
- p- the argument for the operation implemented by this visitor
- Returns:
- the return value of the operation implemented by this visitor
 
 
-