Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Accessing parameter names in advice
Accessing parameter names in advice [message #587246] Mon, 07 March 2005 11:01
Eclipse UserFriend
Originally posted by:

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
advice generic?

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.
Previous Topic:Accessing parameter names in advice
Next Topic:Not seeing declare warning matches in outline view
Goto Forum:

Current Time: Wed May 23 15:20:26 GMT 2018

Powered by FUDForum. Page generated in 0.01236 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top