[ checkstyle-Feature Requests-3517119 ] VisibilityModifier - exclude members with given annotations

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ checkstyle-Feature Requests-3517119 ] VisibilityModifier - exclude members with given annotations

SourceForge.net
Feature Requests item #3517119, was opened at 2012-04-12 01:52
Message generated for change (Tracker Item Submitted) made by szpak
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3517119&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Check
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Marcin Zajaczkowski (szpak)
Assigned to: Nobody/Anonymous (nobody)
Summary: VisibilityModifier - exclude members with given annotations

Initial Comment:
It is quite common to use package access scope to make class members visible in test. There is packageAllowed properties in VisibilityModifier, but it's work globally. It would be useful as an extension to publicMemberPattern to allow to define annotations (like VisibleForTesting) which should cause a field to be ignored when with package access.

http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/annotations/VisibleForTesting.html


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3517119&group_id=29721

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Checkstyle-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel