Files
openide/java/java-tests/testData/inspection/dataFlow/fixture/NullableCallWithPrecalculatedValueAndSpecialField.java
T
Tagir Valeevandintellij-monorepo-bot cb6448267d [java-dfa] Fix stack flushing
GitOrigin-RevId: e953c3be78bcc3e43fcc9777d8573ff3650638e4
2021-05-11 12:00:09 +00:00

10 lines
379 B
Java

import org.jetbrains.annotations.*;
import java.util.List;
public class NullableCallWithPrecalculatedValueAndSpecialField {
@NotNull List<String> test() {
return <warning descr="Expression 'getNulableValue()' might evaluate to null but is returned by the method declared as @NotNull">getNulableValue()</warning>;
}
native @Nullable List<String> getNulableValue();
}