org.aspectj/tests/pureJava/ParenKeywords.java
2002-12-16 18:51:06 +00:00

18 lines
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");
}
}
}