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

21 lines
533 B
Java

class PrivateInitUser {
public void method() {
new WithPrivateInit(new CustomType("a"));
new WithPrivateInit(new CustomType("b"));
}
public static class CustomType {
public CustomType(String s) {
}
}
}
class <caret>WithPrivateInit {
public WithPrivateInit(PrivateInitUser.CustomType customType) {
privateMethod(customType);
}
private void privateMethod(PrivateInitUser.CustomType customType) {
}
}