Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
nullityinferrer
/
afterAssertParamNotNull.java
blob: b46a0beb43d9f80c4958d661b9f12d24485ea8f1 [
file
] [
log
] [
blame
]
import
org
.
jetbrains
.
annotations
.
NotNull
;
class
Test
{
@NotNull
public
String
noNull
(
@NotNull
String
text
)
{
assert
text
!=
null
;
return
""
;
}
private
void
foo
()
{
@NotNull
String
str
=
""
;
assert
str
!=
null
;
}
}