Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
InstanceMethodDuplicatesInStaticContext.java
blob: 145d22715436627ca52f6d2aafd8a1308fb9258f [
file
] [
log
] [
blame
]
class
Class1
{
public
static
int
staticMethod
()
{
int
a
=
1
;
int
b
=
2
;
int
temp
=
a
+
b
;
return
temp
*
2
;
}
public
int
foo
(
int
a
,
int
b
)
{
<
selection
>
int
temp
=
a
+
b
;
return
temp
*
2
;</
selection
>
}
}