Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] "Help with hasmethod() and hasfield() pointcuts"

Hello all,

  Could someone give me some instructions in order to use hasmethod() and hasfield() pointcuts?

  I activated the option in AJDT 1.4 with AspectJ 5 to "allow hasmethod() and hasfield() type patterns in declare parents and declare @type".  But, it doesn't work. The AJDT plugin doesn't recognize these pointcuts leading to compile time error. So, Could someone explain me why this happens?

 Moreover, If someone could also show me how to allow these pointcuts Through ajc compiler options. (I didn't find the this option, only through eclipse and it does not work ).

Regards!

--
Henrique Mostaert


Back to the top