public class MethodMatcher extends MatcherHelper
Modifier and Type | Field and Description |
---|---|
protected Advisor |
advisor |
protected String |
classname |
protected javassist.CtMethod |
ctMethod |
protected boolean |
isInstanceof |
protected Class<?> |
matchedClass |
protected int |
matchLevel |
protected int |
methodModifiers |
protected String |
methodName |
protected Method |
refMethod |
manager, start
Constructor and Description |
---|
MethodMatcher(Advisor advisor,
javassist.CtMethod method,
ASTStart start) |
MethodMatcher(Advisor advisor,
Method method,
ASTStart start) |
Modifier and Type | Method and Description |
---|---|
Boolean |
classMatchesAll(ClassExpression expr) |
Class<?> |
getMatchedClass() |
int |
getMatchLevel() |
boolean |
isInstanceOf() |
Boolean |
matches(ASTMethod node) |
protected boolean |
matchesClass(ASTMethod node) |
protected boolean |
matchesExceptions(ASTMethod node) |
protected boolean |
matchesIdentifier(ASTMethod node) |
protected boolean |
matchesModifiers(ASTMethod node) |
protected boolean |
matchesParameters(ASTMethod node) |
protected boolean |
matchesReturnType(ASTMethod node) |
protected Boolean |
resolvePointcut(Pointcut p) |
Object |
visit(ASTAll node,
Object data) |
Object |
visit(ASTMethod node,
Object data) |
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
protected Advisor advisor
protected javassist.CtMethod ctMethod
protected Method refMethod
protected int methodModifiers
protected String classname
protected String methodName
protected Class<?> matchedClass
protected int matchLevel
protected boolean isInstanceof
public Class<?> getMatchedClass()
public int getMatchLevel()
public boolean isInstanceOf()
protected Boolean resolvePointcut(Pointcut p)
resolvePointcut
in class MatcherHelper
public Object visit(ASTMethod node, Object data)
visit
in interface PointcutExpressionParserVisitor
visit
in class MatcherHelper
public Object visit(ASTAll node, Object data)
visit
in interface PointcutExpressionParserVisitor
visit
in class MatcherHelper
public Boolean classMatchesAll(ClassExpression expr)
protected boolean matchesModifiers(ASTMethod node)
protected boolean matchesClass(ASTMethod node)
protected boolean matchesIdentifier(ASTMethod node)
protected boolean matchesExceptions(ASTMethod node)
protected boolean matchesReturnType(ASTMethod node)
protected boolean matchesParameters(ASTMethod node)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.