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