Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
methodDuplicates
/
ReturnThis.java
blob: c0f5be707a8bb922b2b0515b306e2b90ab1d0a02 [
file
] [
log
] [
blame
]
class
Return
{
private
int
myInt
;
public
Return
<
caret
>
method
()
{
myInt
++;
return
this
;
}
public
void
context
()
{
myInt
++;
Return
r
=
this
;
// Currently the statement below could be replaced, but it's not. Nobody has requested this.
myInt
++;
}
}