[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [aspectj-dev] how hard it is to introduce a new kind of pointcut inaspectj?
- From: Eric Bodden <eric@xxxxxxxxx>
- Date: Sat, 22 Oct 2005 16:45:46 +0200
- Delivered-to: email@example.com
- Organization: RWTH Aachen University
- Thread-index: AcXWXqmQzq/4AMz/RGyOe6VmcoyDeAAuDFxw
Generally it's not that hard using the AspectBench compiler, Wes mentioned
already (given you have some basic knowledge about compiler construction).
However, with respect to loops, such an extension already exists in the form
of "LoopsAJ" - http://www.cs.manchester.ac.uk/cnc/projects/loopsaj/. This
actually *is* an extension to the AspectBench Compiler.
However, I am not sure what you mean by "the 'new' bytecode". Is that not
something that can be captured by call(WhatEverType.new(..)) ?
lingli zhang wrote:
> I am newbie of aspectj. I am wondering how hard it is to introduce a
> new kind of pointcut into the current aspectj project. For example,
> if I want to match the "new" bytecode, or if I want to match some
> sort of loop structures, I need to introduce "new()" or "loop()" to
> the syntax of the pointcut. Is there any grammar file I should
> change, where is the scanner and parser files? Can anyone point me to
> some example or a starting point to do it?
> Thanks a lot!
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University