Files
openide/java/java-tests/testData/refactoring/inlineToAnonymousClass/MultipleGeneratedVars.java.after
Dmitry Jemerov b43c03ca2f moving tests
2009-09-10 19:49:38 +04:00

29 lines
736 B
Plaintext

class PrivateInitUser {
public void method() {
final CustomType customType = new CustomType("a");
new Object() {
{
privateMethod(customType);
}
private void privateMethod(CustomType customType) {
}
};
final CustomType customType1 = new CustomType("b");
new Object() {
{
privateMethod(customType1);
}
private void privateMethod(CustomType customType) {
}
};
}
public static class CustomType {
public CustomType(String s) {
}
}
}