org.jboss.aop.pointcut
Class NewExprMatcher

java.lang.Object
  extended by org.jboss.aop.pointcut.MatcherHelper
      extended by org.jboss.aop.pointcut.NewExprMatcher
All Implemented Interfaces:
PointcutExpressionParserVisitor

public class NewExprMatcher
extends MatcherHelper

Comment

Version:
$Revision: 37406 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.aop.pointcut.MatcherHelper
manager, start
 
Constructor Summary
NewExprMatcher(Advisor advisor, javassist.expr.NewExpr call, ASTStart start)
           
 
Method Summary
protected  Boolean resolvePointcut(Pointcut p)
           
 Object visit(ASTCall node, Object data)
           
 Object visit(ASTHasField node, Object data)
           
 Object visit(ASTHas node, Object data)
           
 Object visit(ASTWithincode node, Object data)
           
 Object visit(ASTWithin node, Object data)
           
 
Methods inherited from class org.jboss.aop.pointcut.MatcherHelper
matches, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewExprMatcher

public NewExprMatcher(Advisor advisor,
                      javassist.expr.NewExpr call,
                      ASTStart start)
               throws javassist.NotFoundException
Throws:
javassist.NotFoundException
Method Detail

visit

public Object visit(ASTCall node,
                    Object data)
Specified by:
visit in interface PointcutExpressionParserVisitor
Overrides:
visit in class MatcherHelper

visit

public Object visit(ASTWithin node,
                    Object data)
Specified by:
visit in interface PointcutExpressionParserVisitor
Overrides:
visit in class MatcherHelper

visit

public Object visit(ASTWithincode node,
                    Object data)
Specified by:
visit in interface PointcutExpressionParserVisitor
Overrides:
visit in class MatcherHelper

resolvePointcut

protected Boolean resolvePointcut(Pointcut p)
Specified by:
resolvePointcut in class MatcherHelper

visit

public Object visit(ASTHas node,
                    Object data)
Specified by:
visit in interface PointcutExpressionParserVisitor
Overrides:
visit in class MatcherHelper

visit

public Object visit(ASTHasField node,
                    Object data)
Specified by:
visit in interface PointcutExpressionParserVisitor
Overrides:
visit in class MatcherHelper


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.