> The question is now, if there is any way to prevent the evaluation of
> arguments to method calls. In this case I would very much like to learn how,

Use Haskell instead.  :-)

Actually, the only way I can think of doing this is to set up around
advice around the doSomething() method.  Something like:

around() : if (! getLogger().isDebuggingEnabled()) && call(* doSomething()) {
  // don't proceed
}

But this may not be easy if "doSomething()" is a short hand for many,
many different operations.
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to