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