mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
It can analyze outer contexts just in the same way like it's done for normal dataflow. In this case, we should not interrupt the normal analysis. GitOrigin-RevId: 08d7b4857896ca4c930759f21fe2b189254d52b3
19 lines
361 B
Java
19 lines
361 B
Java
import java.util.List;
|
|
|
|
class Y {
|
|
void test(List<String> list) {
|
|
Runnable r = () -> list.forEach(e -> {
|
|
class X {
|
|
final String s;
|
|
|
|
X() {
|
|
s = "foo";
|
|
}
|
|
|
|
void test() {
|
|
if (<warning descr="Condition 's == null' is always 'false'">s == null</warning>) {}
|
|
}
|
|
}
|
|
});
|
|
}
|
|
} |