Bug 420210 - Support additional message insert keys in declare error/warning
Summary: Support additional message insert keys in declare error/warning
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 1.7.4   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-23 16:00 EDT by Andrew Clement CLA
Modified: 2013-10-24 11:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2013-10-23 16:00:16 EDT
It would be good to be able to insert the enclosing class name or enclosing member for a joinpoint.
Comment 1 Andrew Clement CLA 2013-10-23 16:17:21 EDT
New keys:

joinpoint.enclosingclass
joinpoint.enclosingmember // void Bar.foo(String)
joinpoint.enclosingmember.name // foo
Comment 2 Matthew Adams CLA 2013-10-24 10:48:51 EDT
Should those be in camelCase, like the message inserts documented at http://eclipse.org/aspectj/doc/next/README-169.html?
Comment 3 Matthew Adams CLA 2013-10-24 10:50:10 EDT
Just noticed that only "declaringType" is in camel case.  All others are all lower.
Comment 4 Andrew Clement CLA 2013-10-24 11:05:01 EDT
they are actually all case insensitive. So it is a doc issue, but not sure when a docs update will get done...