Class JavaExpressionVisitor<R,P> 
java.lang.Object
org.checkerframework.dataflow.expression.JavaExpressionVisitor<R,P> 
- Type Parameters:
- R- the return type of the visit methods
- P- the parameter passed to the visit methods
- Direct Known Subclasses:
- JavaExpressionConverter,- JavaExpressionScanner
A simple visitor for 
JavaExpression.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvisit(JavaExpression javaExpr, P p) Visits the givenjavaExpr.protected abstract RvisitArrayAccess(ArrayAccess arrayAccessExpr, P p) Visit anArrayAccess.protected abstract RvisitArrayCreation(ArrayCreation arrayCreationExpr, P p) Visit anArrayCreation.protected abstract RvisitBinaryOperation(BinaryOperation binaryOpExpr, P p) Visit aBinaryOperation.protected abstract RvisitClassName(ClassName classNameExpr, P p) Visit aClassName.protected abstract RvisitFieldAccess(FieldAccess fieldAccessExpr, P p) Visit aFieldAccess.protected abstract RvisitFormalParameter(FormalParameter parameterExpr, P p) Visit aFormalParameter.protected abstract RvisitLocalVariable(LocalVariable localVarExpr, P p) Visit aLocalVariable.protected abstract RvisitMethodCall(MethodCall methodCallExpr, P p) Visit aMethodCall.protected abstract RvisitSuperReference(SuperReference superExpr, P p) Visit aSuperReference.protected abstract RvisitThisReference(ThisReference thisExpr, P p) Visit aThisReference.protected abstract RvisitUnaryOperation(UnaryOperation unaryOpExpr, P p) Visit anUnaryOperation.protected abstract RvisitUnknown(Unknown unknownExpr, P p) Visit anUnknown.protected abstract RvisitValueLiteral(ValueLiteral literalExpr, P p) Visit aValueLiteral.
- 
Constructor Details- 
JavaExpressionVisitorpublic JavaExpressionVisitor()
 
- 
- 
Method Details- 
visitVisits the givenjavaExpr.- Parameters:
- javaExpr- the expression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the expression
 
- 
visitArrayAccessVisit anArrayAccess.- Parameters:
- arrayAccessExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the arrayAccessExpr
 
- 
visitArrayCreationVisit anArrayCreation.- Parameters:
- arrayCreationExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the arrayCreationExpr
 
- 
visitBinaryOperationVisit aBinaryOperation.- Parameters:
- binaryOpExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the binaryOpExpr
 
- 
visitClassNameVisit aClassName.- Parameters:
- classNameExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the classNameExpr
 
- 
visitFieldAccessVisit aFieldAccess.- Parameters:
- fieldAccessExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the fieldAccessExpr
 
- 
visitFormalParameterVisit aFormalParameter.- Parameters:
- parameterExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the parameterExpr
 
- 
visitLocalVariableVisit aLocalVariable.- Parameters:
- localVarExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the localVarExpr
 
- 
visitMethodCallVisit aMethodCall.- Parameters:
- methodCallExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the methodCallExpr
 
- 
visitThisReferenceVisit aThisReference.- Parameters:
- thisExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the thisExpr
 
- 
visitSuperReferenceVisit aSuperReference.- Parameters:
- superExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the superExpr
 
- 
visitUnaryOperationVisit anUnaryOperation.- Parameters:
- unaryOpExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the unaryOpExpr
 
- 
visitUnknownVisit anUnknown.- Parameters:
- unknownExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the unknownExpr
 
- 
visitValueLiteralVisit aValueLiteral.- Parameters:
- literalExpr- the JavaExpression to visit
- p- the parameter to pass to the visit method
- Returns:
- the result of visiting the literalExpr
 
 
-