mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
15 lines
327 B
Plaintext
15 lines
327 B
Plaintext
public class TestIntelliJ
|
|
{
|
|
|
|
public synchronized void foo() {
|
|
System.out.println("foo");
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
TestIntelliJ test = new TestIntelliJ();
|
|
test.foo();
|
|
synchronized (TestIntelliJ.class) {
|
|
System.out.println("fooStatic");
|
|
}
|
|
}
|
|
} |