mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-151552 No completion after instanceof inside lambda
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
public class Test {
|
||||
public void f(Object o ) {
|
||||
Runnable r = () -> {
|
||||
if (o instanceof String) {
|
||||
o.leng<caret>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public class Test {
|
||||
public void f(Object o ) {
|
||||
if (o instanceof String) {
|
||||
Runnable r = () -> {
|
||||
o.leng<caret>
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public class Test {
|
||||
public void f(Object o ) {
|
||||
if (o instanceof String) {
|
||||
Runnable r = () -> {
|
||||
((String) o).length()<caret>
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public class Test {
|
||||
public void f(Object o ) {
|
||||
Runnable r = () -> {
|
||||
if (o instanceof String) {
|
||||
((String) o).length()<caret>
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user