mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 23:55:51 +02:00
14 lines
211 B
Java
14 lines
211 B
Java
// Exploring synchronization
|
|
|
|
public aspect Parsing1 {
|
|
|
|
before(): lock() { }
|
|
|
|
public static void main(String[] args) {
|
|
staticM();
|
|
}
|
|
|
|
public static void staticM() {
|
|
// synchronized (String.class) {}
|
|
}
|
|
} |