abc.aspectj.visit
Class CleanAspectMembers
java.lang.Object
NodeVisitor
abc.aspectj.visit.CleanAspectMembers
public class CleanAspectMembers
- extends NodeVisitor
This visitor cleans up the AST prior to Jimplification, turning it
into a Java tree. Advice declarations are rewritten to pure method
declarations. Intertype field delcarations, declare declarations and
pointcut declarations, as well as intertype constructors are completely
stripped out of the tree.
For all intertype declarations, we remove the relevant types
(which were earlier added to do type checking).
- Author:
- Aske Simon Christensen, Oege de Moor
Method Summary |
Node |
leave(Node old,
Node n,
NodeVisitor v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CleanAspectMembers
public CleanAspectMembers(NodeFactory nf,
TypeSystem ts)
leave
public Node leave(Node old,
Node n,
NodeVisitor v)