Bug 111891 - [rename] "Update textual matches" updates parameters with same name in javadoc
Summary: [rename] "Update textual matches" updates parameters with same name in javadoc
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 09:39 EDT by Philip Mayer CLA
Modified: 2006-08-03 12:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Mayer CLA 2005-10-07 09:39:26 EDT
When renaming a field with "update textual matches" enabled, the @param javadoc
name of arbitrary parameters with the same name are renamed as well.

Demo: Rename the field "someClass" with "update textual matches" enabled. Note
that "someClass" in the javadoc gets renamed as well.

------
public class SomeClass {
	
	SomeClass someClass;
	
	/**
	 * 
	 * @param someClass
	 */
	public void foo(SomeClass someClass) {
		
	}
}
----
Comment 1 Dirk Baeumer CLA 2005-10-31 05:36:23 EST
Currently we aren't scanning any content, however we could be smarter here.