| java.lang.Object org.codehaus.aspectwerkz.cflow.CflowAspectExpressionVisitor
CflowAspectExpressionVisitor | public class CflowAspectExpressionVisitor implements ExpressionParserVisitor(Code) | | A visitor to create the bindings between cflow aspect and cflow subexpression.
For each visited cflow / cflowbelow node, one CflowBinding is created
with the cflow(below) subexpression as expressionInfo.
author: Alexandre Vasseur |
Method Summary | |
public List | populateCflowAspectBindings(List bindings) | public Object | visit(Node node, Object data) | public Object | visit(SimpleNode node, Object data) | public Object | visit(ASTRoot node, Object data) | public Object | visit(ASTExpression node, Object data) | public Object | visit(ASTAnd node, Object data) | public Object | visit(ASTOr node, Object data) | public Object | visit(ASTNot node, Object data) | public Object | visit(ASTPointcutReference node, Object data) | public Object | visit(ASTExecution node, Object data) | public Object | visit(ASTCall node, Object data) | public Object | visit(ASTSet node, Object data) | public Object | visit(ASTGet node, Object data) | public Object | visit(ASTHandler node, Object data) | public Object | visit(ASTWithin node, Object data) | public Object | visit(ASTWithinCode node, Object data) | public Object | visit(ASTStaticInitialization node, Object data) | public Object | visit(ASTCflow node, Object data) | public Object | visit(ASTCflowBelow node, Object data) | public Object | visit(ASTArgs node, Object data) | public Object | visit(ASTHasMethod node, Object data) | public Object | visit(ASTHasField node, Object data) | public Object | visit(ASTTarget node, Object data) | public Object | visit(ASTThis node, Object data) | public Object | visit(ASTClassPattern node, Object data) | public Object | visit(ASTMethodPattern node, Object data) | public Object | visit(ASTConstructorPattern node, Object data) | public Object | visit(ASTFieldPattern node, Object data) | public Object | visit(ASTParameter node, Object data) | public Object | visit(ASTArgParameter node, Object data) | public Object | visit(ASTAttribute node, Object data) | public Object | visit(ASTModifier node, Object data) |
populateCflowAspectBindings | public List populateCflowAspectBindings(List bindings)(Code) | | Visit the expression and populate the list with CflowBinding for each cflow() or cflowbelow()
subexpression encountered (including thru pointcut references)
Parameters: bindings - the list of bindings |
visit | public Object visit(ASTCflow node, Object data)(Code) | | build a cflow binding with the cflow sub expression
Parameters: node - Parameters: data - |
visit | public Object visit(ASTCflowBelow node, Object data)(Code) | | build a cflowbelow binding with the cflowbelow sub expression
Parameters: node - Parameters: data - |
|
|