provide common quickfixes for ambiguous constructor calls (IDEA-115255)

This commit is contained in:
anna
2013-10-23 16:27:41 +02:00
parent e3a799dff4
commit 60dffe3c03
3 changed files with 40 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
// "<html> Change signature of A(<s>int</s>)</html>" "true"
class A {
A() {}
A(int i, String s) {}
public void foo() {
new A();
}
}

View File

@@ -0,0 +1,8 @@
// "<html> Change signature of A(<s>int</s>)</html>" "true"
class A {
A(int i) {}
A(int i, String s) {}
public void foo() {
new A<caret>();
}
}