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