Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
introduceVariable
/
MethodCallInSwitch.java
blob: 5826ad932958bbac44cc1399641bc0aecd5b0c99 [
file
] [
log
] [
blame
]
class
A
{
int
getContentElementType
()
{
return
0
;
}
void
method
()
{
switch
(<
selection
>
getContentElementType
()</
selection
>)
{
default
:
throw
new
IllegalArgumentException
(
"Wrong content type: "
+
getContentElementType
());
}
}
}