[ checkstyle-Patches-3515916 ] New check: ForbidInstantiationCheck

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

[ checkstyle-Patches-3515916 ] New check: ForbidInstantiationCheck

SourceForge.net
Patches item #3515916, was opened at 2012-04-08 11:11
Message generated for change (Comment added) made by oburn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397080&aid=3515916&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: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Daniil Yaroslavtsev (daniilyar)
Assigned to: Nobody/Anonymous (nobody)
Summary: New check: ForbidInstantiationCheck

Initial Comment:
This check forbids instantiation of certain object types by their full classname.

For example:
"java.lang.NullPointerException" will forbid the NPE instantiation.

Made in accordance with this issue:
https://sourceforge.net/tracker/?func=detail&aid=3182213&group_id=29721&atid=397081




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

>Comment By: Oliver Burn (oburn)
Date: 2012-04-16 03:59

Message:
Is this not already covered by
http://checkstyle.sourceforge.net/config_coding.html#IllegalInstantiation ?

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397080&aid=3515916&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