Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
NotNullableParameter
/
src
/
Npe.java
blob: d8a2a6f7b43b1718128603537726fd263b72c0ac [
file
] [
log
] [
blame
]
import
org
.
jetbrains
.
annotations
.
NotNull
;
public
class
Npe
{
Object
foo
(
@NotNull
Object
o
)
{
return
o
;
}
void
bar
()
{
Object
o
=
foo
(
null
);
// null should not be passed here.
}
}