| java.lang.Object org.codehaus.aspectwerkz.expression.ExpressionVisitor
All known Subclasses: org.codehaus.aspectwerkz.transform.inlining.compiler.RuntimeCheckVisitor, org.codehaus.aspectwerkz.expression.ArgsIndexVisitor, org.codehaus.aspectwerkz.expression.AdvisedClassFilterExpressionVisitor,
Method Summary | |
public Node | getASTRoot() | public ExpressionInfo | getExpressionInfo() | public boolean | match(ExpressionContext context) Matches the expression context. | protected Boolean | matchUndeterministic(ExpressionContext context) | 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(ASTTarget node, Object data) | public Object | visit(ASTThis node, Object data) | public Object | visit(ASTCflow node, Object data) | public Object | visit(ASTCflowBelow 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) | protected Object | visitAnnotatedNode(SimpleNode node, ReflectionInfo reflectInfo) Test the context upon the expression tree, under a node that can
contain annotations. | protected boolean | visitAttributes(SimpleNode node, ReflectionInfo refInfo) | protected boolean | visitModifiers(SimpleNode node, ReflectionInfo refInfo) | protected boolean | visitParameters(SimpleNode node, ClassInfo[] parameterTypes) |
m_expressionInfo | protected ExpressionInfo m_expressionInfo(Code) | | The expressionInfo this visitor is built on
|
ExpressionVisitor | public ExpressionVisitor(ExpressionInfo expressionInfo, String expression, String namespace, Node root)(Code) | | Creates a new expression.
Parameters: expressionInfo - the expressionInfo this visitor is built on for expression with signature Parameters: expression - the expression as a string Parameters: namespace - the namespace Parameters: root - the AST root |
getASTRoot | public Node getASTRoot()(Code) | | Access the ASTRoot we visit
|
getExpressionInfo | public ExpressionInfo getExpressionInfo()(Code) | | Access the ExpressionInfo we are build on
|
match | public boolean match(ExpressionContext context)(Code) | | Matches the expression context.
If undetermined, assume true.
Do not use for poincut reference - see matchUndeterministic
Parameters: context - |
toString | public String toString()(Code) | | Returns the string representation of the expression.
|
visitAnnotatedNode | protected Object visitAnnotatedNode(SimpleNode node, ReflectionInfo reflectInfo)(Code) | | Test the context upon the expression tree, under a node that can
contain annotations.
Parameters: node - root node of the annotation expression Parameters: reflectInfo - context reflection info Boolean.TRUE in case the reflectInfo matchthe expression subtree, Boolean.FALSE otherwise. |
|
|