org.jboss.aop.pointcut
Class DeclareDef
java.lang.Object
org.jboss.aop.pointcut.DeclareDef
- public class DeclareDef
- extends Object
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeclareDef
public DeclareDef(String name,
String expr,
boolean warning,
String msg)
throws ParseException
getAst
public ASTStart getAst()
getExpr
public String getExpr()
getName
public String getName()
getWarning
public boolean getWarning()
getMsg
public String getMsg()
isPointcut
public boolean isPointcut()
- Returns:
- true if a pointcut expression, false if a type expression
matches
public boolean matches(Advisor advisor,
javassist.CtClass clazz)
matches
public boolean matches(Advisor advisor,
Class clazz)
matchesCall
public boolean matchesCall(Advisor callingAdvisor,
javassist.expr.MethodCall methodCall)
throws javassist.NotFoundException
- Throws:
javassist.NotFoundException
matchesCall
public boolean matchesCall(Advisor callingAdvisor,
javassist.expr.NewExpr methodCall)
throws javassist.NotFoundException
- Throws:
javassist.NotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.