[ checkstyle-Feature Requests-3285652 ] Check for interface type parameter name

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

[ checkstyle-Feature Requests-3285652 ] Check for interface type parameter name

SourceForge.net
Feature Requests item #3285652, was opened at 2011-04-13 00:18
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3285652&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: Open
Priority: 5
Private: No
Submitted By: http://moradanen.sopovs.com/ ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Check for interface type parameter name

Initial Comment:
Checkstyle have two good checks: ClassTypeParameterName ad MethodTypeParameterName.
However there seems to be no way to check for type parameter name of the interface.
Suggestion is to extend ClassTypeParameterName with this functionality or write a new check InterfaceTypeParameterName - what is more appropriate. Actually, I can do it if more experienced checkstyle developer would tell what way of these two should be adopted.

Little example ("Input" is not reported as wrong type parameter name with both ClassTypeParameterName and MethodTypeParameterName turned on with default regexp):
<code>
interface Boo<Input> {
        Input boo();
}
</code>



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

>Comment By: http://moradanen.sopovs.com/ ()
Date: 2012-06-27 02:28

Message:
Patch was submited for this request.

http://sourceforge.net/tracker/?func=detail&aid=3537135&group_id=29721&atid=397080

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

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Checkstyle-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel
Loading...