abc.aspectj.ast
Class PCTarget_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.Pointcut_c
          extended by 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
           
 
Fields inherited from class abc.aspectj.ast.Pointcut_c
initialised
 
Constructor Summary
PCTarget_c(Position pos, ArgPattern pat)
           
 
Method Summary
 boolean isDynamic()
           
 Pointcut makeAIPointcut()
           
 java.util.Collection mayBind()
           
 java.util.Collection mustBind()
           
 java.util.Set pcRefs()
           
 Precedence precedence()
          Get the precedence of the expression.
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
           
protected  PCTarget_c reconstruct(Node pat)
          Reconstruct the pointcut.
 Node typeCheck(TypeChecker tc)
          type check the use of target
 Node visitChildren(NodeVisitor v)
          Visit the children of the pointcut.
 
Methods inherited from class abc.aspectj.ast.Pointcut_c
checkFormals, printSubExpr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface abc.aspectj.ast.Pointcut
checkFormals, printSubExpr
 

Field Detail

pat

protected Node pat
Constructor Detail

PCTarget_c

public PCTarget_c(Position pos,
                  ArgPattern pat)
Method Detail

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