Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/surroundWithIf/afterInsideLambda.java

12 lines
250 B
Java

// "Surround with 'if (i != null)'" "true"
import org.jetbrains.annotations.Nullable;
class A {
void foo(@Nullable String i) {
Runnable r = () -> {
if (i != null) {
i.length();
}
};
}
}