90 likes | 177 Views
A Fluid AOP Editor. Terry Hon Gregor Kiczales. Want to implement a display updating aspect Use the following pointcut. Editing here. Keeps all these code blocks in synch – a crosscutting slice. Aspect file. Edit time weaving instead of compile time weaving.
E N D
A Fluid AOP Editor Terry Hon Gregor Kiczales 2005 CASCON
Want to implement a display updating aspect • Use the following pointcut 2005 CASCON
Editing here Keeps all these code blocks in synch – a crosscutting slice. 2005 CASCON
Aspect file 2005 CASCON
Edit time weaving instead of compile time weaving AspectJ-like pointcut and advice Static join points: code fragments 2005 CASCON
AspectJ vs. Fluid AOP Editor • Different join point model • dynamic vs. static • Different adoption profile • plain-old Java tools can be used on all but .fa files • edit time weaving • woven files are in normal Java code • aspect file is only a meta file • possible intermediate step in AOP adoption? • or AOP solution qua itself? 2005 CASCON
Status • Implemented a simple prototype as an Eclipse plugin • 2 kinds of pointcuts: call and execution • 2 kinds of advice: before and after 2005 CASCON