Interface NodeVisitor<R,P>
- Type Parameters:
R
- return type of the visitor. UseVoid
if the visitor does not have a return value.P
- parameter type of the visitor. UseVoid
if the visitor does not have a parameter.
- All Known Subinterfaces:
BackwardTransferFunction<V,
,S> ForwardTransferFunction<V,
,S> TransferFunction<V,
S>
- All Known Implementing Classes:
AbstractNodeVisitor
,AccumulationTransfer
,AliasingTransfer
,CalledMethodsTransfer
,CFAbstractTransfer
,CFTransfer
,ConstantPropagationTransfer
,FormatterTransfer
,I18nFormatterTransfer
,IndexAbstractTransfer
,InitializationTransfer
,InitializedFieldsTransfer
,KeyForTransfer
,LessThanTransfer
,LiveVarTransfer
,LockTransfer
,LowerBoundTransfer
,MustCallTransfer
,NullnessTransfer
,RegexTransfer
,ResourceLeakTransfer
,SameLenTransfer
,SearchIndexTransfer
,SignatureTransfer
,UpperBoundTransfer
,ValueTransfer
public interface NodeVisitor<R,P>
A visitor for a
Node
tree.-
Method Summary
Modifier 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) visitClassDeclaration
(ClassDeclarationNode classDeclarationNode, P p) Visits an anonymous/inner/nested class declaration within a method.visitClassName
(ClassNameNode n, P p) visitEqualTo
(EqualToNode n, P p) 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) visitNotEqual
(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)
-
Method Details
-
visitShortLiteral
-
visitIntegerLiteral
-
visitLongLiteral
-
visitFloatLiteral
-
visitDoubleLiteral
-
visitBooleanLiteral
-
visitCharacterLiteral
-
visitStringLiteral
-
visitNullLiteral
-
visitNumericalMinus
-
visitNumericalPlus
-
visitBitwiseComplement
-
visitNullChk
-
visitStringConcatenate
-
visitNumericalAddition
-
visitNumericalSubtraction
-
visitNumericalMultiplication
-
visitIntegerDivision
-
visitFloatingDivision
-
visitIntegerRemainder
-
visitFloatingRemainder
-
visitLeftShift
-
visitSignedRightShift
-
visitUnsignedRightShift
-
visitBitwiseAnd
-
visitBitwiseOr
-
visitBitwiseXor
-
visitStringConcatenateAssignment
-
visitLessThan
-
visitLessThanOrEqual
-
visitGreaterThan
-
visitGreaterThanOrEqual
-
visitEqualTo
-
visitNotEqual
-
visitConditionalAnd
-
visitConditionalOr
-
visitConditionalNot
-
visitTernaryExpression
-
visitSwitchExpressionNode
-
visitAssignment
-
visitLocalVariable
-
visitVariableDeclaration
-
visitFieldAccess
-
visitMethodAccess
-
visitArrayAccess
-
visitImplicitThis
-
visitExplicitThis
-
visitSuper
-
visitReturn
-
visitLambdaResultExpression
-
visitStringConversion
-
visitWideningConversion
-
visitNarrowingConversion
-
visitInstanceOf
-
visitTypeCast
-
visitSynchronized
-
visitAssertionError
-
visitThrow
-
visitCase
-
visitMethodInvocation
-
visitObjectCreation
-
visitMemberReference
-
visitArrayCreation
-
visitArrayType
-
visitPrimitiveType
-
visitClassName
-
visitPackageName
-
visitParameterizedType
-
visitMarker
-
visitClassDeclaration
Visits an anonymous/inner/nested class declaration within a method.- Parameters:
classDeclarationNode
- theClassDeclarationNode
to be visitedp
- the argument for the operation implemented by this visitor- Returns:
- the return value of the operation implemented by this visitor
-