abc.aspectj.ast
Class PCThis_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.Pointcut_c
          extended by abc.aspectj.ast.PCThis_c
All Implemented Interfaces:
PCThis, Pointcut
Direct Known Subclasses:
PCThis_c

public class PCThis_c
extends Pointcut_c
implements PCThis

Author:
Oege de Moor, Aske Simon Christensen

Field Summary
protected  Node pat
           
 
Fields inherited from class abc.aspectj.ast.Pointcut_c
initialised
 
Constructor Summary
PCThis_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  PCThis_c reconstruct(Node pat)
          Reconstruct the pointcut.
 Node typeCheck(TypeChecker tc)
          type check the use of this
 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

PCThis_c

public PCThis_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 PCThis_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 this

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