Sign in
android
/
platform
/
tools
/
idea
/
3a2425a5aed1bef93dab954745ad5665265eb70b
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
convertToInstanceMethod
/
Simple.java
blob: f038672a0c2e05be94c781e9d64f0bb80929b3a1 [
file
]
public
class
Y
{
public
void
foo
()
{
}
}
public
class
X
{
static
void
<
caret
>
method
(
Y y
)
{
System
.
out
.
println
(
y
);
y
.
foo
();
}
{
Y y
=
new
Y
();
method
(
y
);
method
(
new
Y
());
}
}