mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-58556 Make smart completion cast insertion aware of autoboxing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user