spegling av
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
18 rader
360 B
Java
18 rader
360 B
Java
import org.aspectj.testing.Tester;
|
|
|
|
public class ParenKeywords {
|
|
public static void main(String[] args) {
|
|
if ((false) || (true)) {
|
|
new ParenKeywords().foo();
|
|
}
|
|
Tester.checkEvents("foo");
|
|
}
|
|
void foo() {
|
|
if ((this) == (null)) {
|
|
System.err.println("shouldn't happen");
|
|
} else {
|
|
Tester.event("foo");
|
|
}
|
|
}
|
|
}
|