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

11 lines
230 B
Java

// "Surround with 'if (i != null)'" "true"
import org.jetbrains.annotations.Nullable;
class A {
void foo(@Nullable String i) {
if (i.le<caret>ngth() > 0) {
if (i != "a") {
}
}
}
}