abc.aspectj.visit
Class AspectReflectionRewrite

java.lang.Object
  extended by NodeVisitor
      extended by abc.aspectj.visit.AspectReflectionRewrite

public class AspectReflectionRewrite
extends NodeVisitor

Rewrite all instances of thisJoinPoint to thisJoinPointStaticPart in any aspect body where this is appropriate.

Author:
Ganesh Sittampalam

Field Summary
 AJNodeFactory nf
           
 AJTypeSystem ts
           
 
Constructor Summary
AspectReflectionRewrite(NodeFactory nf, TypeSystem ts)
           
 
Method Summary
 NodeVisitor enter(Node n)
           
 void enterAdvice(LocalInstance jpsp)
           
 LocalInstance getJPSP()
           
 boolean inspectingLocals()
           
 Node leave(Node old, Node n, NodeVisitor v)
           
 void leaveAdvice()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nf

public AJNodeFactory nf

ts

public AJTypeSystem ts
Constructor Detail

AspectReflectionRewrite

public AspectReflectionRewrite(NodeFactory nf,
                               TypeSystem ts)
Method Detail

enterAdvice

public void enterAdvice(LocalInstance jpsp)

leaveAdvice

public void leaveAdvice()

inspectingLocals

public boolean inspectingLocals()

getJPSP

public LocalInstance getJPSP()

enter

public NodeVisitor enter(Node n)

leave

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