org.aspectj/tests/pureJava/ParenKeywords.java

18 lines
360 B
Java
Raw Normal View History

2002-12-16 19:51:06 +01:00
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");
}
}
}