Files
openide/java/java-tests/testData/refactoring/extractMethod/NotNullArgument7.java
T

15 lines
272 B
Java

import org.jetbrains.annotations.Nullable;
class C {
void f(@Nullable Object o, boolean b) {
while (o != null) {
if (b) {
o = 7;
}
<selection>g(o);</selection>
}
}
void g(Object o) {
}
}