org.jboss.aop.pointcut
Class MethodMatcher
java.lang.Object
org.jboss.aop.pointcut.MatcherHelper
org.jboss.aop.pointcut.MethodMatcher
- All Implemented Interfaces:
- PointcutExpressionParserVisitor
- Direct Known Subclasses:
- ExecutionMethodMatcher
public class MethodMatcher
- extends MatcherHelper
Comment
- Version:
- $Revision: 70842 $
- Author:
- Bill Burke
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 |
advisor
protected Advisor advisor
ctMethod
protected javassist.CtMethod ctMethod
refMethod
protected Method refMethod
methodModifiers
protected int methodModifiers
classname
protected String classname
methodName
protected String methodName
matchedClass
protected Class<?> matchedClass
matchLevel
protected int matchLevel
isInstanceof
protected boolean isInstanceof
MethodMatcher
public MethodMatcher(Advisor advisor,
javassist.CtMethod method,
ASTStart start)
MethodMatcher
public MethodMatcher(Advisor advisor,
Method method,
ASTStart start)
getMatchedClass
public Class<?> getMatchedClass()
getMatchLevel
public int getMatchLevel()
isInstanceOf
public boolean isInstanceOf()
resolvePointcut
protected Boolean resolvePointcut(Pointcut p)
- Specified by:
resolvePointcut
in class MatcherHelper
visit
public Object visit(ASTMethod node,
Object data)
- Specified by:
visit
in interface PointcutExpressionParserVisitor
- Overrides:
visit
in class MatcherHelper
matches
public Boolean matches(ASTMethod node)
visit
public Object visit(ASTAll node,
Object data)
- Specified by:
visit
in interface PointcutExpressionParserVisitor
- Overrides:
visit
in class MatcherHelper
classMatchesAll
public Boolean classMatchesAll(ClassExpression expr)
matchesModifiers
protected boolean matchesModifiers(ASTMethod node)
matchesClass
protected boolean matchesClass(ASTMethod node)
matchesIdentifier
protected boolean matchesIdentifier(ASTMethod node)
matchesExceptions
protected boolean matchesExceptions(ASTMethod node)
matchesReturnType
protected boolean matchesReturnType(ASTMethod node)
matchesParameters
protected boolean matchesParameters(ASTMethod node)
Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.