blob: aaab65a33317c542cd98a32a6e6e3ce8ad301093 [file] [log] [blame]
import org.checkerframework.checker.nullness.qual.*;
public class SkipDefs2 {
static class SkipMe {
@Nullable Object f;
@EnsuresNonNull("f")
static void foo() {}
}
static class DontSkip {
static Object foo() {
// :: error: (return)
return null;
}
}
}