On Sat, 21 Oct 2006, Oege de Moor wrote:
> I do not see why it is worse than advising private method calls: they could
> be inlined too.
I did say the AspectJ pointcut language was bad too :-)
> I do see there are many examples of interesting joinpoint selections that
> can only be expressed if you allow access to every statement, and every
> control flow edge. You don't *need* to look at Jimple, it's just there for
> power users who want to write pointcuts that (for instance) depend on
> dataflow.
>
> You could argue it is more intuitive to allow arbitrary queries over the
> whole AST, but that will make the queries very complicated compared to
> expressing the same property over Jimple.
Jimple is clearly a good language for implementing such pointcuts, but
if you just expose it in its raw form then the power users will make no
effort to specify what their pointcut means. I think that's a recipe for
disaster.
> Anyway, I intend the second part of the talk to be controversial, and
> generate a lot of hot debate!
Good good :-)
Ganesh
Received on Sat Oct 21 19:25:39 2006
This archive was generated by hypermail 2.1.8 : Tue Mar 06 2007 - 16:13:30 GMT