Bug 241810 - [compiler] Recognition of unused parameters of a method
Summary: [compiler] Recognition of unused parameters of a method
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 09:41 EDT by Michael Schläfer CLA
Modified: 2009-05-05 10:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schläfer CLA 2008-07-23 09:41:37 EDT
Also those parameters of a method should be marked as unused, that are handed over solely to recursive calls of the method  within the method's body.

It's clear to me that finding this in indirect recursions over multiple methods (e.g. method1 calls method 2 calls method 1) is far to complicated, but it would help a lot for direct recursions (method calls itself directly) already.
Comment 1 Mike Wilson CLA 2009-05-05 10:22:33 EDT
Changing Version tag to something more believable. Note that this is not a statement about when the enhancement request will be addressed (the Target Milestone field is used for that); the Version tag should be set to the version of Eclipse you were using when you saw the need for the enhancement.