Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
fixture
/
UseInferredContracts.java
blob: 34b9d708a4b250ab45d1d4a488dfc7f43e393707 [
file
] [
log
] [
blame
]
import
org
.
jetbrains
.
annotations
.
Nullable
;
class
Doo
{
static
boolean
isNotNull
(
@Nullable
Object
o
)
{
return
o
!=
null
;
}
void
foo
(
@Nullable
String
s
)
{
if
(
isNotNull
(
s
))
{
System
.
out
.
println
(
s
.
length
());
}
}
}