|Accessing parameter names in advice [message #587246]
||Mon, 07 March 2005 11:01
Originally posted by: simon.heinzle.adnovum.ch|
SORRY about the post before, something went wrong....
I'm currently writing an Enter/Leave tracing aspect for Debugging. The
output of it should be somewhat like "Entering method m_name(p_name =
Is there a way of getting the names(identifiers) of the parameters in an
With thisJoinPoint only the parameter values and their types can be
queried. A solution like
before (String target, int count) :
execution(* *.calculateValue(String, int))
&& args(target, count)
// Output: "Entering method calculateValue(target="+target ...
is too bulky.
Powered by FUDForum
. Page generated in 0.02101 seconds