Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
patternVariableCanBeUsed
/
beforeSimpleNot.java
blob: 43b68f1dbf8b6dea1eb3ceeab9e4bbcec60877f2 [
file
]
// "Replace 's' with pattern variable" "false"
class
X
{
void
test
(
Object
obj
)
{
if
(!(
obj
instanceof
String
))
{
String
<
caret
>
s
=
(
String
)
obj
;
}
}
}