Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
NotNullArgumentLambdaInWhileNoBlock.java
blob: 2538c7ceb899cc4d969ea9f0cb525c84ed1b81ee [
file
]
import
org
.
jetbrains
.
annotations
.
NotNull
;
import
org
.
jetbrains
.
annotations
.
Nullable
;
class
C
{
void
foo
(
@Nullable
Object
o
)
{
while
(
o
!=
null
)
<
selection
>((
Runnable
)(()
->
bar
(
o
)))</
selection
>.
run
();
}
void
bar
(
@NotNull
Object
o
)
{
}
}