Feature Requests: Browse | Submit New | Admin

[#18454] Warn when an explicitly specified type or object does not result in a join point match

Date:
2008-02-28 15:47
Priority:
4
Submitted By:
Dean Wampler (deanwampler)
Assigned To:
Dean Wampler (deanwampler)
Category:
Pointcut language
State:
Open
Summary:
Warn when an explicitly specified type or object does not result in a join point match

Detailed description
You are warned if no join points are matched by the aspect, but not if you specify several types and/or objects and
only some of them result in matches.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-05-11 03:42
Sender: Dean Wampler

I'm downgrading this feature, because supporting it will add
some complexity to Aspect that doesn't seem justified. I did
some work on it and realized that the main problem is avoiding
spurious warnings when using :types_and_descendents and
:types_and_ancestors, where you can expect many of the types
in the hierarchy to not result in JP matches.

I think the best workaround is to use
"aspect.pointcuts.join_points_not_matched" when you
suspect things aren't matching as expected.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item