Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/highlighting/FinalInitializer.java
Tagir Valeev cc643a5ae4 [java-highlighting] More control-flow-related stuff migrated
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 3c292fdf4869e6d13c16fabbf42e2055ea54f724
2025-02-06 10:35:32 +00:00

11 lines
219 B
Java

class MyTest {
final Runnable lambdaRunnable = () -> {
System.out.println(<error descr="Variable 'o' might not have been initialized">o</error>);
};
final Object o;
MyTest(Object o) {
this.o = o;
}
}