mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 11:44:39 +07:00
GitOrigin-RevId: f7cead47f32b2befeabe116a6c2df87682cb1cd2
14 lines
367 B
Java
14 lines
367 B
Java
import org.jspecify.annotations.NullMarked;
|
|
import org.jspecify.annotations.NullUnmarked;
|
|
import org.jspecify.annotations.Nullable;
|
|
|
|
import java.util.List;
|
|
|
|
@NullMarked
|
|
class Container<T extends @Nullable Object> {
|
|
|
|
@NullUnmarked
|
|
List<T> get() {
|
|
return <warning descr="'null' is returned by the method which is not declared as @Nullable">null</warning>;
|
|
}
|
|
} |