logo       

[ checkstyle-Feature Requests-1822797 ] Illegal Type should not apply withi: msg#00275

Subject: [ checkstyle-Feature Requests-1822797 ] Illegal Type should not apply within matching class itself
Feature Requests item #1822797, was opened at 2007-10-30 14:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=1822797&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: Adrian Price (adrianprice)
Assigned to: Nobody/Anonymous (nobody)
Summary: Illegal Type should not apply within matching class itself

Initial Comment:
The 'Illegal Type' check should not apply within the body of a matching class 
or a subclass thereof.

For example, it is perfectly legitimate for abstract class AbstractA to refer 
to instances of AbstractA, although one would probably wish to restrict such 
references according to visibility modifier.

Conceptually, there's only a problem when classes other than AbstractA (or a 
subclass thereof) refers to AbstractA.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


<Prev in Thread] Current Thread [Next in Thread>