Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Aspects and Ecents

Hello all,

I want to reach a method within an event defined by just one method (m1 in this case), but this event is instantiated over 2 different methods like:

m1() {

      field.addListener( new Listener() {
             
           checkBoxSelected(Event e) {
          
                  methodToBeReached()
            }

      });
}

m2() {

      field.addListener( new Listener() {
             
           checkBoxSelected(Event e) {
          
                  methodToBeReached()
            }

      });
}

when the event occurs, its flow isn't within m2 or m1 normal flow, so cflowbelow does not works for the methods...
Is there a way to interceptate only the methodToBeReached() instantiated at m1 method?

thanks

--
jp

Back to the top