blob: 34b9d708a4b250ab45d1d4a488dfc7f43e393707 [file] [log] [blame]
import org.jetbrains.annotations.Nullable;
class Doo {
static boolean isNotNull(@Nullable Object o) {
return o != null;
}
void foo(@Nullable String s) {
if (isNotNull(s)) {
System.out.println(s.length());
}
}
}