Sign in
eclipse
/
jdt
/
eclipse.jdt.ui
/
a222b4f61e4f2706e670c8cef9e6f52494012de3
/
.
/
org.eclipse.jdt.ui.tests.refactoring
/
resources
/
PromoteTempToField
/
canPromote
/
A_test21_out.java
blob: a63194e20aa8f5b5bb7800a5353729fe7c5966de [
file
] [
log
] [
blame
]
package
p
;
class
A
{
private
static
final
I fgX
=
new
I
()
{
//<-- refactor->convert local variable x to field
public
void
methodI
()
{
int
y
=
3
;
}
};
public
static
void
method2
(
final
int
i
)
{
I y
=
fgX
;
}
}
interface
I
{
void
methodI
();
}