pointcut instanceTracker(Vessel ves) : call(Vessel+.new(..))&&target(ves) ;
before (Vessel ves) : instanceTracker(ves){// this is the place
*************************
System.out.println(thisJoinPoint);
System.out.println(ves.getClass().getCanonicalName());
}
but at "this is the place" the compiler gives me warning : advice defined in
cut has not been applied
[Xlint:adviceDidNotMatch]
What is the problem?????
if i do :
pointcut instanceTracker() : call(Vessel+.new(..)) ;
before () : instanceTracker(){// this is the place
*************************
System.out.println(thisJoinPoint);
// System.out.println(ves.getClass().getCanonicalName());
}
everything works
anyone knows whats the problem?
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users