org.jboss.aop.pointcut
Class ConstructorMatcher

java.lang.Object
  extended by org.jboss.aop.pointcut.MatcherHelper
      extended by org.jboss.aop.pointcut.ConstructorMatcher
All Implemented Interfaces:
PointcutExpressionParserVisitor
Direct Known Subclasses:
ConstructionMatcher, ExecutionConstructorMatcher

public class ConstructorMatcher
extends MatcherHelper

Comment

Version:
$Revision: 70842 $
Author:
Bill Burke

Field Summary
protected  Advisor advisor
           
protected  String classname
           
protected  int conModifiers
           
protected  javassist.CtConstructor ctCon
           
protected  Constructor<?> refCon
           
 
Fields inherited from class org.jboss.aop.pointcut.MatcherHelper
manager, start
 
Constructor Summary
ConstructorMatcher(Advisor advisor, Constructor<?> con, ASTStart start)
           
ConstructorMatcher(Advisor advisor, javassist.CtConstructor con, ASTStart start)
           
 
Method Summary
 Boolean matches(ASTConstructor node)
           
protected  Boolean resolvePointcut(Pointcut p)
           
 Object visit(ASTAll node, Object data)
           
 Object visit(ASTConstructor 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, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

advisor

protected Advisor advisor

ctCon

protected javassist.CtConstructor ctCon

refCon

protected Constructor<?> refCon

conModifiers

protected int conModifiers

classname

protected String classname
Constructor Detail

ConstructorMatcher

public ConstructorMatcher(Advisor advisor,
                          javassist.CtConstructor con,
                          ASTStart start)
                   throws javassist.NotFoundException
Throws:
javassist.NotFoundException

ConstructorMatcher

public ConstructorMatcher(Advisor advisor,
                          Constructor<?> con,
                          ASTStart start)
Method Detail

resolvePointcut

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

visit

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

matches

public Boolean matches(ASTConstructor node)

visit

public Object visit(ASTAll 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.