I am using LoadTime weaving.
My aspect have been tested and are perfectly working.
I have several project in my workspace and i’m trying to clear some warning just to keep the “real one”
This code give me : [Xlint:invalidAbsoluteTypeName] Warning and i can’t clear it with @SuppressAjWarnings
pointcut somePointcutName():
call(*someMethod(..)) &&
!adviceexecution();
So i’m wondering if there is a way to clear those
Thank alots!
Okay, I played around and I guess I know what happened there: Whatever kind of type signature you have in your
callpointcut, it seems you used an absolute one, e.g.* MyClass.doIt(..),but you have not imported the class and thus cannot access it like that. So you either need
import com.foobar.my.package.MyClassin your aspect or
* *..MyClass.doIt(..)in your pointcut. I guess the Xlint warning is a bit cryptic, but basically that is what it means.