org.jboss.aop.pointcut
Class DeclareDef
java.lang.Object
org.jboss.aop.pointcut.DeclareDef
public class DeclareDef
- extends Object
- Version:
- $Revision: 70842 $
- 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
- 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 © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.