mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
Fixes IDEA-348069 Local variable holding result of JSpecify-`@Nullable`-annotated method in `@NullMarked` package is unexpectedly non-null GitOrigin-RevId: c43ef9636dd903250ae698d30e571d2df7f793d8
14 lines
239 B
Java
14 lines
239 B
Java
package com.example;
|
|
|
|
import org.jspecify.annotations.NullMarked;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
@NullMarked
|
|
final class JSpecifyLocal<T> {
|
|
void test() {
|
|
T s = getSomething();
|
|
}
|
|
|
|
native @Nullable T getSomething();
|
|
}
|