mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
move instance method should qualify field access if there is a parameter with the same name (IDEA-43009)
This commit is contained in:
+8
@@ -57,6 +57,14 @@ public class MoveInstanceMethodTest extends LightCodeInsightTestCase {
|
||||
doTest(true, 0);
|
||||
}
|
||||
|
||||
public void testQualifyFieldAccess() throws Exception {
|
||||
doTest(false, 0);
|
||||
}
|
||||
|
||||
public void testStripFieldQualifier() throws Exception {
|
||||
doTest(false, 0);
|
||||
}
|
||||
|
||||
private void doTest(boolean isTargetParameter, final int targetIndex) throws Exception {
|
||||
doTest(isTargetParameter, targetIndex, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user