Bug 264008 - Getting pointcut information from AdviceElement
Summary: Getting pointcut information from AdviceElement
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.6.3   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 1.6.4   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 16:44 EST by Johan Fabry CLA
Modified: 2012-04-03 14:10 EDT (History)
1 user (show)

See Also:


Attachments
A possible implementation (649 bytes, text/plain)
2009-02-06 16:44 EST, Johan Fabry CLA
andrew.eisenberg: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Fabry CLA 2009-02-06 16:44:02 EST
I'd like to be able to get the pointcut of a given AdviceElement, or have a complete signature, instead of something like (e.g.) before(Object o).

The code in attachment gives me the complete signature, all in one line (which is perfect for my needs) and is robust wrt comments.
Comment 1 Johan Fabry CLA 2009-02-06 16:44:47 EST
Created attachment 125001 [details]
A possible implementation
Comment 2 Andrew Eisenberg CLA 2009-02-06 19:57:04 EST
OK.  This code has been added to the latest dev build.
Comment 3 Andrew Eisenberg CLA 2009-02-06 19:57:36 EST
Thanks for the patch
Comment 4 Andrew Eisenberg CLA 2009-03-13 13:17:35 EDT
iplog