abc.tm.ast
Class ClosedPointcut_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.Pointcut_c
          extended by abc.eaj.ast.PCLocalVars_c
              extended by abc.tm.ast.ClosedPointcut_c
All Implemented Interfaces:
MakesAspectMethods, Pointcut, PCLocalVars, ClosedPointcut

public class ClosedPointcut_c
extends PCLocalVars_c
implements ClosedPointcut

Author:
Julian Tibble Encapsulate all the free variables in a symbol pointcut.

Field Summary
 
Fields inherited from class abc.eaj.ast.PCLocalVars_c
formals, pc
 
Fields inherited from class abc.aspectj.ast.Pointcut_c
initialised
 
Constructor Summary
ClosedPointcut_c(Position pos, java.util.List formals, Pointcut pc)
           
 
Method Summary
 java.util.Collection mayBind()
          we are encapsulating all the variables so mayBind() returns an empty set (and we skip the binding checks for the child pointcut, because they have already been done)
 
Methods inherited from class abc.eaj.ast.PCLocalVars_c
aspectMethodsEnter, aspectMethodsLeave, enterScope, isDynamic, makeAIPointcut, mustBind, pcRefs, precedence, prettyPrint, reconstruct, toString, visitChildren
 
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, wait, wait, wait
 
Methods inherited from interface abc.aspectj.ast.Pointcut
checkFormals, isDynamic, makeAIPointcut, mustBind, pcRefs, precedence, printSubExpr
 
Methods inherited from interface abc.aspectj.ast.MakesAspectMethods
aspectMethodsEnter, aspectMethodsLeave
 

Constructor Detail

ClosedPointcut_c

public ClosedPointcut_c(Position pos,
                        java.util.List formals,
                        Pointcut pc)
Method Detail

mayBind

public java.util.Collection mayBind()
                             throws SemanticException
we are encapsulating all the variables so mayBind() returns an empty set (and we skip the binding checks for the child pointcut, because they have already been done)

Specified by:
mayBind in interface Pointcut
Overrides:
mayBind in class PCLocalVars_c
Throws:
SemanticException