Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] announcing SCoPE compiler for AspectJ

We are pleased to announce the availability of SCoPE, an AspectJ
compatible compiler for optimizing conditional pointcuts (i.e., "if"
pointcuts).  SCoPE statically matches conditional pointcuts that do
not use runtime information, as well as built-in static pointcuts like
"call" and "execution".

A short example is the following advice declaration, which prints
messages on calls to lower-case methods:

  before(): call(* *) && if(thisJoinPoint.getSignature()
                            .getName().matches("^[a-z]+$")){
    System.out.println(thisJoinPoint);
  }

SCoPE weaves this advice declaration statically.  In other words,
there are no runtime evaluation of the expression inside the
if-pointcut.

Further information is available from:
http://www.graco.c.u-tokyo.ac.jp/ppp/projects/scope/

We welcome your questions, feedback and comments.

Best regards,

Hidehiko Masuhara
--
Dept. of Graphics and Computer Science | 3-8-1 Komaba, Meguro-ku,
Graduate School of Arts and Sciences   | Tokyo, Japan 153-8902
University of Tokyo                    | Phone:  +81-3-5454-6679
E-mail: masuhara@xxxxxxx               | Fax:    +81-3-5454-6990



Back to the top