mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
21 lines
533 B
Java
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) {
|
|
}
|
|
}
|