Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
moveInstanceMethod
/
MethodReferenceWithThisTarget.java
blob: b853a5c5263a603a39cc0e6a11dfb527bd3cb1c7 [
file
]
import
java
.
util
.
function
.
Consumer
;
class
Source
{
public
void
f
<
caret
>
oo
(
Destination
destination
)
{
Consumer
<
String
>
doSomething
=
destination
::
doSomething
;
}
}
class
Destination
{
public
void
doSomething
(
String
s
)
{
}
}