abc.eaj.visit
Class GlobalPointcuts

java.lang.Object
  extended by ContextVisitor
      extended by abc.eaj.visit.GlobalPointcuts

public class GlobalPointcuts
extends ContextVisitor

Author:
Julian Tibble

Field Summary
static int COLLECT
           
static int CONJOIN
           
 
Constructor Summary
GlobalPointcuts(int pass, Job job, EAJTypeSystem ts, EAJNodeFactory nf)
           
 
Method Summary
 void addGlobalPointcut(ClassnamePatternExpr pattern, Pointcut pc)
          callback to allow a GlobalPoincutDecl to register itself
protected  EAJAdviceDecl applyMatchingGlobals(PCNode aspct, EAJAdviceDecl ad)
           
 Pointcut conjoinPointcuts(Pointcut a, Pointcut b)
           
 NodeVisitor enter(Node parent, Node n)
           
 void finish()
           
 Node leave(Node parent, Node old, Node n, NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLECT

public static final int COLLECT
See Also:
Constant Field Values

CONJOIN

public static final int CONJOIN
See Also:
Constant Field Values
Constructor Detail

GlobalPointcuts

public GlobalPointcuts(int pass,
                       Job job,
                       EAJTypeSystem ts,
                       EAJNodeFactory nf)
Method Detail

addGlobalPointcut

public void addGlobalPointcut(ClassnamePatternExpr pattern,
                              Pointcut pc)
callback to allow a GlobalPoincutDecl to register itself


conjoinPointcuts

public Pointcut conjoinPointcuts(Pointcut a,
                                 Pointcut b)

finish

public void finish()

enter

public NodeVisitor enter(Node parent,
                         Node n)

leave

public Node leave(Node parent,
                  Node old,
                  Node n,
                  NodeVisitor v)

applyMatchingGlobals

protected EAJAdviceDecl applyMatchingGlobals(PCNode aspct,
                                             EAJAdviceDecl ad)