Rename in Javadoc fixed

This commit is contained in:
Roman Shevchenko
2010-08-05 22:24:13 +04:00
parent 352482241b
commit cb56ea4905
8 changed files with 111 additions and 26 deletions
@@ -0,0 +1,9 @@
public class ConflictWithJavadocTag {
/**
* Receives some param.
* @param param some param
*/
public void my(int <caret>param) {
System.out.println("param=" + param); // print param
}
}
@@ -0,0 +1,9 @@
public class ConflictWithJavadocTag {
/**
* Receives some i.
* @param i some i
*/
public void my(int i) {
System.out.println("i=" + i); // print i
}
}
@@ -38,6 +38,10 @@ public class RenameLocalTest extends LightCodeInsightTestCase {
doTest("f");
}
public void testConflictWithJavadocTag() throws Exception {
doTest("i");
}
private void doTest(final String newName) throws Exception {
configureByFile(BASE_PATH + getTestName(false) + ".java");
PsiElement element = TargetElementUtilBase