Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeConditionWithComments.java
blob: 77ae1fd122192a3713a615e51e23a287ca5c9ead [
file
]
// "Invert 'if' condition" "true"
class
A
{
public
void
foo
()
{
String
value
=
"not-null"
;
<
caret
>
if
(
value
!=
null
)
{
/* block*/
// Before
System
.
out
.
println
(
value
);
/* inside */
System
.
out
.
println
(
value
);
// After
/* end block*/
}
}
}