IDEA-58556 Make smart completion cast insertion aware of autoboxing

This commit is contained in:
peter
2011-02-23 11:33:13 +01:00
parent aa65664d63
commit c13f0636c2
8 changed files with 135 additions and 43 deletions
@@ -0,0 +1,8 @@
class A {
public abstract void zoo(int y);
{
Object x;
zoo((Integer) <caret>x);
}
}
@@ -0,0 +1,8 @@
class A {
public abstract void zoo(int y);
{
Object x;
zoo((<caret>x);
}
}
@@ -0,0 +1,8 @@
class A {
public abstract void zoo(int y);
{
Object x;
zoo((Integer) <caret>x);
}
}
@@ -0,0 +1,8 @@
class A {
public abstract void zoo(int y);
{
Object x;
zoo((<caret>) x);
}
}
@@ -0,0 +1,8 @@
class A {
public abstract void zoo(int y);
{
Object x;
zoo((Integer) <caret>x);
}
}
@@ -0,0 +1,8 @@
class A {
public abstract void zoo(int y);
{
Object x;
zoo((<caret>a) x);
}
}