| java.lang.Object org.codehaus.aspectwerkz.expression.ExpressionValidateVisitor
ExpressionValidateVisitor | public class ExpressionValidateVisitor implements ExpressionParserVisitor(Code) | | The visitor that extract all possible arguments referenced by the expression.
TODO handle pointcut reference and handle parameter transition
+ checks as done in the ArgIndexVisitor for this / target compliance.
author: Alexandre Vasseur |
Method Summary | |
public void | populate(List data) | public String | toString() Returns the string representation of the expression. | 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(ASTOr node, Object data) | public Object | visit(ASTAnd 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(ASTStaticInitialization node, Object data) | public Object | visit(ASTWithin node, Object data) | public Object | visit(ASTWithinCode node, Object data) | public Object | visit(ASTHasMethod node, Object data) | public Object | visit(ASTHasField node, Object data) | public Object | visit(ASTCflow node, Object data) | public Object | visit(ASTCflowBelow 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(ASTArgs node, Object data) | public Object | visit(ASTArgParameter node, Object data) | public Object | visit(ASTAttribute node, Object data) | public Object | visit(ASTModifier node, Object data) |
ExpressionValidateVisitor | public ExpressionValidateVisitor(String expression, String namespace, Node root)(Code) | | Creates a new expression.
Parameters: expression - the expression as a string Parameters: namespace - the namespace Parameters: root - the AST root |
populate | public void populate(List data)(Code) | | Populate data with the possible arguments
Parameters: data - a list to feed with Strings |
toString | public String toString()(Code) | | Returns the string representation of the expression.
|
|
|