| RES: [aspectj-users] thisJoinPointStaticPart & warning |
|
Wes,
I'm
trying to check dependences between classes:
pointcut pc() : call(* *.*(..)) && !call(* MyClass.*(..))
;
before() : pc() {
String callerType = thisJoinPointStaticPart.getSourceLocation().getWithinType().getName(); System.out.println("MyClass depends on '" + callerType); } I
would like to inform dependences statically, using declare
warning...
André
De: aspectj-users-admin@xxxxxxxxxxx [mailto:aspectj-users-admin@xxxxxxxxxxx] Em nome de Wes Isberg Enviada em: sábado, 15 de janeiro de 2005 23:38 Para: aspectj-users@xxxxxxxxxxx Assunto: Re: [aspectj-users] thisJoinPointStaticPart & warning Would you make a case why it should and how it could?
Wes
|