| java.lang.Object com.tc.aspectwerkz.expression.ExpressionVisitor
All known Subclasses: com.tc.aspectwerkz.transform.inlining.compiler.RuntimeCheckVisitor, com.tc.aspectwerkz.expression.AdvisedClassFilterExpressionVisitor, com.tc.aspectwerkz.expression.ArgsIndexVisitor,
Method Summary | |
public Node | getASTRoot() | public ExpressionInfo | getExpressionInfo() | public boolean | match(com.tc.aspectwerkz.expression.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(ASTIf 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
|
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. |
|
|