abc.aspectj.ast
Class PCTarget_c
java.lang.Object
Node_c
abc.aspectj.ast.Pointcut_c
abc.aspectj.ast.PCTarget_c
- All Implemented Interfaces:
- PCTarget, Pointcut
- Direct Known Subclasses:
- PCTarget_c
public class PCTarget_c
- extends Pointcut_c
- implements PCTarget
- Author:
- Oege de Moor, Aske Simon Christensen
Field Summary |
protected Node |
pat
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pat
protected Node pat
PCTarget_c
public PCTarget_c(Position pos,
ArgPattern pat)
precedence
public Precedence precedence()
- Description copied from interface:
Pointcut
- Get the precedence of the expression.
- Specified by:
precedence
in interface Pointcut
- Overrides:
precedence
in class Pointcut_c
pcRefs
public java.util.Set pcRefs()
- Specified by:
pcRefs
in interface Pointcut
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic
in interface Pointcut
reconstruct
protected PCTarget_c reconstruct(Node pat)
- Reconstruct the pointcut.
visitChildren
public Node visitChildren(NodeVisitor v)
- Visit the children of the pointcut.
typeCheck
public Node typeCheck(TypeChecker tc)
throws SemanticException
- type check the use of target
- Throws:
SemanticException
mayBind
public java.util.Collection mayBind()
throws SemanticException
- Specified by:
mayBind
in interface Pointcut
- Overrides:
mayBind
in class Pointcut_c
- Throws:
SemanticException
mustBind
public java.util.Collection mustBind()
- Specified by:
mustBind
in interface Pointcut
- Overrides:
mustBind
in class Pointcut_c
prettyPrint
public void prettyPrint(CodeWriter w,
PrettyPrinter tr)
makeAIPointcut
public Pointcut makeAIPointcut()
- Specified by:
makeAIPointcut
in interface Pointcut