mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
IDEA-68584 Completion should detect return type and autocast in some cases
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import java.lang.Object;
|
||||
|
||||
class IFoo {
|
||||
Object getValue() {}
|
||||
}
|
||||
|
||||
class Foo extends IFoo {
|
||||
Foo getValue() {}
|
||||
void foo(IFoo o) {
|
||||
if (o instanceof Foo) {
|
||||
o.getv<caret>x
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user